Vulnerability in Node.js Undici

CVE-2022-32210

`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.

Vulnerability class: Improper Certificate Validation

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N.

EPSS exploit prediction

EPSS 0.005, 40.9th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Node.js Undici
  • Https://github.com/nodejs/undici — versions Fixed in version >= v5.5.1. Vulnerable between v4.8.2 and v5.5.0

Weakness classification (CWE)

References