`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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-6112 `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.
Github GHSA Github GHSA GHSA-pgw7-wx7w-2w33 ProxyAgent vulnerable to MITM
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 15 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00146}

epss

{'score': 0.00107}


cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2024-08-03T07:32:56.020Z

Reserved: 2022-06-01T00:00:00

Link: CVE-2022-32210

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-07-14T15:15:08.183

Modified: 2024-11-21T07:05:55.847

Link: CVE-2022-32210

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.