{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:auth0:omniauth-auth0:*:*:*:*:*:ruby:*:*",
            "extracted_events": [
              {
                "introduced": "2.3.0"
              },
              {
                "fixed": "2.4.1"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "c091def58305469b55365a29c12431b8cd07cd4a"
            },
            {
              "fixed": "ce6824dd0ca306b5d0e7bf33fdae8404b0259da6"
            },
            {
              "fixed": "fd3a14f4ccdfbc515d1121d6378ff88bf55a7a7a"
            }
          ],
          "repo": "https://github.com/auth0/omniauth-auth0",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-58r4-h6v8-jcvm"
  ],
  "database_specific": {},
  "details": "omniauth-auth0 (rubygems) versions \u003e= 2.3.0 and \u003c 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.",
  "id": "CVE-2020-15240",
  "modified": "2026-07-08T05:35:55.011469962Z",
  "published": "2020-10-21T18:15:12.813Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/auth0/omniauth-auth0/security/advisories/GHSA-58r4-h6v8-jcvm"
    },
    {
      "type": "ADVISORY",
      "url": "https://rubygems.org/gems/omniauth-auth0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/auth0/omniauth-auth0/commit/fd3a14f4ccdfbc515d1121d6378ff88bf55a7a7a"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}