CVE-2022-32210 json
ProxyAgent vulnerable to MITM
published 2022-06-17 4 y ago modified 2026-07-08 4 mo ago also GHSA-pgw7-wx7w-2w33 , EUVD-2022-6112
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
`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.
Patch / fix
- npm undici 5.5.1
- nodejs undici 5.5.1
- node-undici Debian 14, Debian 13, Debian 12 5.6.1+dfsg1+~cs18.9.16-1
debian advisories DEBIAN-CVE-2022-32210
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/1583680 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-pgw7-wx7w-2w33 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | undici | >=4.8.2, <5.5.1 |
5.5.1 |
Affected products
- n/a https://github.com/nodejs/undici
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
hackerone.com
/reports/1583680
web, exploit, issue-tracking, third-party-advisory
-
github.com
/nodejs/undici/security/advisories/GHSA-pgw7-wx7w-2w33
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-32210
advisory
-
github.com
/nodejs/undici
package
Sources
- CVE List CVE-2022-32210
- GitHub Advisory GHSA-pgw7-wx7w-2w33
- NVD CVE-2022-32210
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.