Axios
Axios: HTTP/2 adapter bypasses configured DNS lookup and proxy controls
Axios is a promise-based HTTP client for the browser and Node.js. From 1.13.0 until 1.20.0, Axios HTTP/2 request setup does not consistently apply proxy settings and caller-supplied DNS lookup policy. An HTTPS request uses httpVersion: 2 with explicit config.proxy or environment-derived proxy settings, or relies on caller-supplied config.lookup DNS policy. The HTTP/2 path can connect without the configured proxy behavior or without applying the caller-supplied config.lookup policy before http2.connect(). Requests can bypass the intended proxy route or the caller-supplied DNS resolution policy. This issue is fixed in version 1.20.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 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.