axios 1.7.0 before 1.18.0 maxBodyLength Bypass via ReadableStream
axios
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| axios npm |
|
|
Original description
axios versions 1.7.0 before 1.18.0 fail to enforce maxBodyLength for WHATWG ReadableStream request bodies in the fetch adapter when Content-Length cannot be determined. Attackers can supply unknown-length stream data to bypass upload size limits and cause uncontrolled network egress or resource exhaustion.
From the CVE record · VulnCheck