{"id":"CVE-2022-32210","published":"2022-07-14T14:51:40Z","modified":"2024-08-03T07:32:56Z","title":"`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to…","vendor":null,"product":null,"tier":"tail","description":{"text":"`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are actually sent via plain-text HTTP between Undici and the proxy server.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00466,"percentile":0.4126,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://hackerone.com/reports/1583680","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-pgw7-wx7w-2w33","tags":["x_refsource_MISC"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":8.25}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/nodejs/undici","versions":["Fixed in version >= v5.5.1. Vulnerable between v4.8.2 and v5.5.0"]}],"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":[">=4.8.2, <5.5.1"],"patched":["5.5.1"],"from":["GHSA-pgw7-wx7w-2w33"],"provenance":"source"}],"summary":{"text":"The flaw is in Undici.ProxyAgent, a component of Undici, where the remote server's certificate is never verified and all request and response data is always exposed to the proxy. An attacker able to act as or sit behind the proxy can intercept and read all HTTPS traffic passing through it, and where the proxy URL uses HTTP, requests that appear to be HTTPS are sent in plain text between Undici and the proxy, so no user interaction or authentication is described as necessary beyond the attacker being positioned at the proxy.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:19Z"},"euvd":{"id":"EUVD-2022-6112","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-32210","published":"2022-07-14","fixed":"5.5.1","kev":false},{"cve":"CVE-2022-31150","published":"2022-07-19","fixed":"5.8.0","kev":false,"link":{"from":"CVE-2022-32210","to":"CVE-2022-31150","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"5.5.1","toFixed":"5.8.0","daysApart":5}]}},{"cve":"CVE-2022-31151","published":"2022-07-20","fixed":"5.8.0","kev":false,"link":{"from":"CVE-2022-32210","to":"CVE-2022-31151","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"5.5.1","toFixed":"5.8.0","daysApart":6}]}},{"cve":"CVE-2022-35948","published":"2022-08-13","fixed":"5.8.2","kev":false}],"package":"npm:undici"}}