NetSight
medium7.5No CVE yet

GHSA-39j5-w47m-2gmv

Duplicate Advisory: Axios: Fetch adapter `ReadableStream` uploads bypass `maxBodyLength`

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-jqh4-m9w3-8hp9. This link is maintained to preserve external references. ## 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.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
npmaxios>= 1.7.0, < 1.18.0none recorded

Weakness classification

References