Description
Axios is a promise based HTTP client for the browser and Node.js. When Axios starting in version 0.28.0 and prior to versions 0.30.2 and 1.12.0 runs on Node.js and is given a URL with the data: scheme, it does not perform HTTP. Instead, its Node http adapter decodes the entire payload into memory (Buffer/Blob) and returns a synthetic 200 response. This path ignores maxContentLength / maxBodyLength (which only protect HTTP responses), so an attacker can supply a very large data: URI and cause the process to allocate unbounded memory and crash (DoS), even if the caller requested responseType: 'stream'. Versions 0.30.2 and 1.12.0 contain a patch for the issue.
Mitigation
Minimal update. May introduce new vulnerabilities or breaking changes.
|
 debian 13 | | =1.11.0+dfsg-1 || =1.12.1+dfsg-1 || =1.13.1+dfsg-1 || =1.13.2+dfsg-1 || =1.14.0+dfsg-1 || =1.15.0-1 || =1.15.2-1 || =1.8.4+dfsg-1 | - |
 debian 11 | | =0.21.1+dfsg-1 || =0.21.1+dfsg-1+deb11u1 || =0.21.3+dfsg-1 || =0.21.4+dfsg-1 || =0.22.0+dfsg-1 || =0.23.0+dfsg-1 || =0.23.0+dfsg-2 || =0.24.0+dfsg-1 || =0.25.0+dfsg-1 || =0.25.0+dfsg-2 || =0.26.0+dfsg-1 || =0.26.1+dfsg-1 || =0.26.1+dfsg-2 || =0.27.2+dfsg-1 || =0.27.2+dfsg-2 || =1.1.2+dfsg-1 || =1.1.2+dfsg-2 || =1.1.2+dfsg-3 || =1.1.3+dfsg-1 || =1.1.3+dfsg-2 || =1.11.0+dfsg-1 || =1.12.1+dfsg-1 || =1.13.1+dfsg-1 || =1.13.2+dfsg-1 || =1.14.0+dfsg-1 || =1.15.0-1 || =1.15.2-1 || =1.2.0+dfsg-1 || =1.2.1+dfsg-1 || =1.5.1+dfsg-1 || =1.6.2+dfsg-1 || =1.6.8+dfsg-1 || =1.6.8+dfsg-2 || =1.7.3+dfsg-1 || =1.7.4+dfsg-1 || =1.7.7+dfsg-1 || =1.7.9+dfsg-1 || =1.8.4+dfsg-1 | - |
 debian 12 | | =1.11.0+dfsg-1 || =1.12.1+dfsg-1 || =1.13.1+dfsg-1 || =1.13.2+dfsg-1 || =1.14.0+dfsg-1 || =1.15.0-1 || =1.15.2-1 || =1.2.1+dfsg-1 || =1.2.1+dfsg-1+deb12u1 || =1.5.1+dfsg-1 || =1.6.2+dfsg-1 || =1.6.8+dfsg-1 || =1.6.8+dfsg-2 || =1.7.3+dfsg-1 || =1.7.4+dfsg-1 || =1.7.7+dfsg-1 || =1.7.9+dfsg-1 || =1.8.4+dfsg-1 | - |
 debian 14 | | =1.11.0+dfsg-1 || =1.8.4+dfsg-1 || >=0 <1.12.1+dfsg-1 | 1.12.1+dfsg-1 |
 npm | | >=1.0.0 <1.12.0 || >=0.28.0 <0.30.2 | 1.12.0, 0.30.2 |