Live threats

All CVEs / Nodejs

CVE-2022-32210Nodejs Undici

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 31
Auth required
No
Published
Jul 14, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Undici.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm undici ≥ 4.8.2 < 5.5.1 5.5.1 npm install undici@5.5.1

Per OSV / GitHub Advisories (GHSA-pgw7-wx7w-2w33). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nodejsundici≥ 4.8.2 < 5.5.1

Official sources

References

Links published by the sources. Open them with care.