Skip to content

CVE-2022-32210 ProxyAgent vulnerable to MITM

MediumCVSS 6.5 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

Description

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.

Upgrade path

5 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/node-undici(Debian 12) < 5.6.1+dfsg1+~cs18.9.16-1 5.6.1+dfsg1+~cs18.9.16-1 Fixed
debian/node-undici(Debian 13) < 5.6.1+dfsg1+~cs18.9.16-1 5.6.1+dfsg1+~cs18.9.16-1 Fixed
debian/node-undici(Debian 14) < 5.6.1+dfsg1+~cs18.9.16-1 5.6.1+dfsg1+~cs18.9.16-1 Fixed
nodejs undici >= 4.8.2, < 5.5.1 5.5.1 Fixed
npm undici(npm) >= 4.8.2, < 5.5.1; >= 4.8.2, <= 5.5.0 5.5.1 Fixed

Affected products

ProductAffected versionsFixed in
npm undici(npm) >= 4.8.2, <= 5.5.0 No fix listed
nodejs undici >= 4.8.2, < 5.5.1 5.5.1
debian/node-undici(Debian:12) < 5.6.1+dfsg1+~cs18.9.16-1 5.6.1+dfsg1+~cs18.9.16-1
debian/node-undici(Debian:14) < 5.6.1+dfsg1+~cs18.9.16-1 5.6.1+dfsg1+~cs18.9.16-1
debian/node-undici(Debian:13) < 5.6.1+dfsg1+~cs18.9.16-1 5.6.1+dfsg1+~cs18.9.16-1
npm undici(npm) >= 4.8.2, < 5.5.1 5.5.1

References