high7.5
CVE-2024-39338
Server-Side Request Forgery in axios
Impact
axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative URLs.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | axios | >= 1.3.2, <= 1.7.3 | 1.7.4 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Axios | Axios | from 1.3.2 before 1.7.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/axios/axios/releases
- https://jeffhacks.com/advisories/2024/06/24/CVE-2024-39338.html
- https://github.com/advisories/GHSA-8hc4-vh64-cxmj
- https://nvd.nist.gov/vuln/detail/CVE-2024-39338
- https://github.com/axios/axios/issues/6463
- https://github.com/axios/axios/pull/6539
- https://github.com/axios/axios/pull/6543
- https://github.com/axios/axios/commit/6b6b605eaf73852fb2dae033f1e786155959de3a
- https://github.com/axios/axios/releases/tag/v1.7.4