Description (CNA)
axios versions 0.31.1 before 0.33.0 and 1.15.1 before 1.18.0 contain an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. Attackers who control object keys and nested values passed to axios form or parameter serialization can trigger a RangeError from JSON.stringify, causing denial of service in the affected request path.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| axios / axios | affected 0.31.1 before 0.33.0; unaffected 0.33.0 |
| axios / axios | affected 1.15.1 before 1.18.0; unaffected 1.18.0 |
CWE
CWE-674
References
- https://github.com/axios/axios/security/advisories/GHSA-hcpx-6fm6-wx23
- https://www.vulncheck.com/advisories/axios-before-denial-of-service-via-maxdepth-bypass
ADP enrichment
No English description supplied.