Description
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, when responseType: 'stream' is used, Axios returns the response stream without enforcing maxContentLength. This bypasses configured response-size limits and allows unbounded downstream consumption. This vulnerability is fixed in 1.15.1 and 0.31.1.
Problem types
CWE-770: Allocation of Resources Without Limits or Throttling
Product status
< 0.31.1
References
github.com/.../axios/security/advisories/GHSA-vf2m-468p-8v99
github.com/.../axios/security/advisories/GHSA-vf2m-468p-8v99