Advisory

GHSA-58r4-h6v8-jcvm

Also known as: CVE-2020-15240

Summary

Regression in JWT Signature Validation

Details

Overview
Versions after and including 2.3.0 are improperly validating the JWT token signature when using the JWTValidator.verify method. Improper validation of the JWT token signature when not using the default Authorization Code Flow can allow an attacker to bypass authentication and authorization.

Am I affected?
You are affected by this vulnerability if all of the following conditions apply:

  • You are using omniauth-auth0.
  • You are using JWTValidator.verify method directly OR you are not authenticating using the SDK’s default Authorization Code Flow.

How to fix that?
Upgrade to version 2.4.1.

Will this update impact my users?
The fix provided in this version will not affect your users.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-11-03 02:31 UTC
Modified
2026-07-08 05:59 UTC

Affected packages and fixes

omniauth-auth0

RubyGems · All systems

Affected

  • introduced 2.3.0, fixed 2.4.1 (ecosystem)

Fixed versions

2.4.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences