REDHAT-BUG-2487947: High severity npm/axios vulnerability
Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, Axios’ Node.js HTTP adapter can leak proxy credentials to a redirect target in affected versions. When a request is sent through an authenticated proxy, Axios may add a Proxy-Authorization header. If Axios then follows a redirect and the redirected request is no longer sent through that proxy, the stale Proxy-Authorization header can remain on the redirected request and be sent to the redirect target. This affects Node.js's use of Axios with automatic redirects enabled and an authenticated proxy configuration. Browser adapters are not affected. This vulnerability is fixed in 0.32.0 and 1.16.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
axiosto a version that resolves this vulnerability.Fixed in 0.32.0Patch 0.32.0 - Upgrade
Upgrade
axiosto a version that resolves this vulnerability.Fixed in 1.16.0Patch 1.16.0
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2487947?
The severity of REDHAT-BUG-2487947 is high, rated at 7.
How do I fix REDHAT-BUG-2487947?
To fix REDHAT-BUG-2487947, update Axios to version 0.32.0 or 1.16.0 or later.
What are the potential risks associated with REDHAT-BUG-2487947?
The potential risks include leaking proxy credentials to redirect target sites, compromising authentication safety.
What versions of Axios are affected by REDHAT-BUG-2487947?
Axios versions prior to 0.32.0 and 1.16.0 are affected by REDHAT-BUG-2487947.
Is there a workaround for REDHAT-BUG-2487947 before updating?
As a temporary workaround for REDHAT-BUG-2487947, avoid using Axios with authenticated proxies until the update is applied.