7.5high
Denial of Service in axios
- Severity
- 7.5high CVSS:3.0 by NVD
- Exploit likelihood
- 6.14% (higher than 93% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-42xw-2xvc-qx8m
Description
Axios up to and including 0.18.0 allows attackers to cause a denial of service (application crash) by continuing to accepting content after maxContentLength is exceeded.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| axios axios | through 0.18.0, up to 0.18.0 | CVE List, NVD |
| axios (npm) | before 0.18.1 | GitHub Advisory Database |
All scores
| GitHub | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
Axios up to and including 0.18.0 allows attackers to cause a denial of service (application crash) by continuing to accepting content after maxContentLength is exceeded.
GitHub Advisory Database
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.
NVD (es)
Axios versión 0.18.0 y anteriores, permite a los atacantes causar una denegación de servicio (cierre inesperado de la aplicación) al continuar aceptando contenido después de que se exceda maxContentLength.
References
| https://app.snyk.io/vuln/SNYK-JS-AXIOS-174505 | exploit, patch, third-party-advisory, web | |
| https://github.com/axios/axios/issues/1098 | exploit, third-party-advisory, web | |
| https://github.com/axios/axios/pull/1485 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-10742 | advisory | |
| https://github.com/axios/axios/commit/acabfbdf00a58bb866c9d070e8a10d1d0dbeb572 | web | |
| https://snyk.io/vuln/SNYK-JS-AXIOS-174505 | web | |
| https://www.npmjs.com/advisories/880 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2019-10742 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-42xw-2xvc-qx8m changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2019-10742 changed 2026-06-17 | Public domain |