REDHAT-BUG-2487937: High severity npm/axios vulnerability
Axios is a promise based HTTP client for the browser and Node.js. From 0.19.0 to before 0.31.1 and 1.15.2, Axios contains prototype-pollution gadgets in request config processing. If another vulnerability in the same JavaScript process has already polluted Object.prototype.transformResponse, affected Axios versions may treat that inherited value as request configuration or as an option validator. Axios does not itself create the prototype pollution. Exploitability requires a separate prototype-pollution vulnerability or equivalent attacker control over Object.prototype before Axios creates a request. This vulnerability is fixed in 0.31.1 and 1.15.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.31.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.15.2
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2487937?
The severity of REDHAT-BUG-2487937 is classified as high with a score of 7.
What versions of Axios are affected by REDHAT-BUG-2487937?
REDHAT-BUG-2487937 affects Axios versions from 0.19.0 to before 0.31.1 and 1.15.2.
How do I fix REDHAT-BUG-2487937?
To fix REDHAT-BUG-2487937, update Axios to version 0.31.1 or later, or 1.15.3 or later.
What type of vulnerability is REDHAT-BUG-2487937?
REDHAT-BUG-2487937 is a prototype-pollution vulnerability in Axios's request config processing.
What is the impact of REDHAT-BUG-2487937?
The impact of REDHAT-BUG-2487937 could allow an attacker to manipulate the prototype of Object, leading to potential security risks.