Skip to content
Fencer Intel
medium 6.5

CVE-2022-32210 json

ProxyAgent vulnerable to MITM

published 4y ago modified 4mo 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

Is CVE-2022-32210 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

Fencer Intel 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.