{"id":"CVE-2020-15125","published":"2020-07-29T16:25:15Z","modified":"2024-08-04T13:08:22Z","title":"Authorization header is not sanitized in an error object in auth0","vendor":"auth0","product":"node-auth0","tier":"tail","description":{"text":"In auth0 (npm package) versions before 2.27.1, a DenyList of specific keys that should be sanitized from the request object contained in the error object is used. The key for Authorization header is not sanitized and in certain cases the Authorization header value can be logged exposing a bearer token. You are affected by this vulnerability if you are using the auth0 npm package, and you are using a Machine to Machine application authorized to use Auth0's management API","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01539,"percentile":0.75519,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://github.com/auth0/node-auth0/security/advisories/GHSA-5jpf-pj32-xx53","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/auth0/node-auth0/pull/507","tags":["x_refsource_MISC"]},{"url":"https://github.com/auth0/node-auth0/pull/507/commits/62ca61b3348ec8e74d7d00358661af1a8bc98a3c","tags":["x_refsource_MISC"]},{"url":"https://github.com/auth0/node-auth0/tree/v2.27.1","tags":["x_refsource_MISC"]}],"priority":{"score":20.5,"factors":[{"name":"EPSS percentile","points":15.1},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"auth0","affectedVersions":[{"vendor":"auth0","product":"node-auth0","versions":["< 2.27.1"]}],"affected":[{"ecosystem":"npm","package":"auth0","vulnerableRanges":["<2.27.1"],"patched":["2.27.1"],"from":["GHSA-5jpf-pj32-xx53"],"provenance":"source"}],"summary":{"text":"The auth0 npm package (node-auth0) before version 2.27.1 has an error-object sanitization flaw: its DenyList does not include the Authorization header key, so that header's value can end up in logged request/error output. An attacker who can access those logs, with the affected package used by a Machine-to-Machine application authorized for Auth0's management API, can obtain a bearer token from the logged Authorization header and use it against that API.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:18Z"},"euvd":{"id":"EUVD-2020-0538","exploited":false,"provenance":"source"}}