HighGHSA-42xw-2xvc-qx8mCVE-2019-10742
Denial of Service in axios
Published 29 May 2019 · Updated 8 Nov 2023
Is your project on an affected axios?
Affected package
axiosnpm
- Affected
- <0.18.1
- Fixed in
- 0.18.1
Update to the fixed version for your release line, for example:
npm install axios@0.18.1Details
Versions of axios prior to 0.18.1 are vulnerable to Denial of Service. If a request exceeds the maxContentLength property, the package prints an error but does not stop the request. This may cause high CPU usage and lead to Denial of Service.
Recommendation
Upgrade to 0.18.1 or later.
Is GHSA-42xw-2xvc-qx8m in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected axios, and gives you the command that fixes it.
More advisories for axios
- MediumCVE-2026-101904Axios: Header Injection via Inherited headers After Minimal Interceptor · 30 Sept 2026
- MediumCVE-2026-101900Axios: Fetch Adapter Header Injection via Inherited FormData getHeaders · 30 Sept 2026
- HighCVE-2026-101905Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection · 30 Sept 2026
- MediumCVE-2026-101899Axios: CIDR-form NO_PROXY entries are ignored, causing proxy exclusion bypass for internal IP ranges · 30 Sept 2026
- HighCVE-2026-101907Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF · 30 Sept 2026
- MediumCVE-2026-101908Axios: Prototype pollution gadget in fetch adapter can alter outbound requests · 30 Sept 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-10742
- Linkgithub.com/axios/axios/issues/1098
- Linkgithub.com/axios/axios/pull/1485
- Linkgithub.com/axios/axios/commit/acabfbdf00a58bb866c9d070e8a10d1d0dbeb572
- Linkapp.snyk.io/vuln/SNYK-JS-AXIOS-174505
- Linksnyk.io/vuln/SNYK-JS-AXIOS-174505
- Linkwww.npmjs.com/advisories/880
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.