{"id":"CVE-2020-15240","aliases":["CVE-2020-15240","GHSA-58r4-h6v8-jcvm"],"related":[],"kind":"vulnerability","state":"published","title":"Regression in JWT Signature Validation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Overview\nVersions 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.\n\n### Am I affected?\nYou are affected by this vulnerability if all of the following conditions apply:\n\n- You are using `omniauth-auth0`.\n- You are using `JWTValidator.verify` method directly OR you are not authenticating using the SDK’s default Authorization Code Flow.\n\n### How to fix that?\nUpgrade to version `2.4.1`.\n\n### Will this update impact my users?\nThe fix provided in this version will not affect your users.","format":"markdown","source":"ghsa"},{"lang":"es","text":"omniauth-auth0 (rubygems) versiones posteriores a 2.3.0 incluyéndola y versiones anteriores a 2.4.1, comprueban inapropiadamente la firma del token de JWT cuando utiliza el método \"jwt_validator.verify\".&#xa0;La comprobación inapropiada de la firma del token de JWT puede permitir a un atacante omitir la autenticación y la autorización.&#xa0;Estas afectado por esta vulnerabilidad si se cumplen todas las condiciones siguientes: 1. Está utilizando \"omniauth-auth0\".&#xa0;2. Está usando el método \"JWTValidator.verify\" directamente O no está autenticándose usando el Authorization Code Flow predeterminado del SDK.&#xa0;El problema está parcheado en la versión 2.4.1","source":"nvd"}],"published":"2020-10-21T17:25:14.000Z","modified":"2026-07-08T05:59:47.963Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-287","CWE-347"],"affected":[{"ranges":[{"version":">= 2.3.0, <2.4.1","status":"affected"}],"vendor":"auth0","product":"omniauth-auth0","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.4.1"}],"ecosystem":"RubyGems","package":"omniauth-auth0","purl":"pkg:gem/omniauth-auth0","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.3.0","fixed":"2.4.1"}],"vendor":"auth0","product":"omniauth-auth0","cpe":"cpe:2.3:a:auth0:omniauth-auth0:*:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://github.com/auth0/omniauth-auth0/security/advisories/GHSA-58r4-h6v8-jcvm","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/auth0/omniauth-auth0/commit/fd3a14f4ccdfbc515d1121d6378ff88bf55a7a7a","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://rubygems.org/gems/omniauth-auth0","tags":["product","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15240","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/auth0/omniauth-auth0","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-auth0/CVE-2020-15240.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15240","url":"https://www.cve.org/CVERecord?id=CVE-2020-15240","licence":"CVE Terms of Use","modified":"2024-08-04T13:08:22.896Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-58r4-h6v8-jcvm","url":"https://github.com/advisories/GHSA-58r4-h6v8-jcvm","licence":"CC-BY-4.0","modified":"2026-07-08T05:59:47.963Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15240","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15240","licence":"Public domain","modified":"2026-06-17T02:56:20.360Z"}],"updatedAt":"2026-11-25T22:57:55.394Z","epss":{"score":0.00803,"percentile":0.57861,"date":"2026-12-01T12:00:22.000Z"}}