Axios
Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization
Axios is a promise-based HTTP client for the browser and Node.js. From 1.13.0 until 1.20.0, Http2Sessions does not install adequate error handling for a ClientHttp2Session during Axios HTTP/2 session initialization or reuse. A request uses httpVersion: 2 and the ClientHttp2Session emits an error during session initialization or reuse. The unhandled session error escapes normal Promise rejection handling. The uncaught error can terminate the Node.js process and cause denial of service. This issue is fixed in version 1.20.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-400
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
axios axios
- >= 1.13.0, < 1.20.0
Fixed in 1.20.0
Mitigation
Upgrade axios to 1.20.0 or later.
References
- Vendor advisory github.com/axios/axios/security/advisories/GHS…
- Patch github.com/axios/axios/pull/11141
- Patch github.com/axios/axios/commit/d19040bda7a8be2f…
1 more
- Release notes github.com/axios/axios/releases/tag/v1.20.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.