HighGHSA-42xw-2xvc-qx8mCVE-2019-10742
Denial of Service in axios
Published 29 May 2019 · Updated 8 Nov 2023
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.
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.