What’s Vulnerable › Vulnerabilities

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

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

Affected products

How to fix

Upgrade to a fixed version: auth0.js 2.27.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-15125 or the next vulnerability affects your stack