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.
Remediation
References
https://github.com/nodejs/undici/security/advisories/GHSA-pgw7-wx7w-2w33
https://hackerone.com/reports/1583680
Related Vulnerabilities
CVE-2022-36912 Vulnerability in maven package org.jenkins-ci.plugins:openstack-heat
CVE-2020-19697 Vulnerability in maven package org.webjars.npm:editor.md
CVE-2023-34247 Vulnerability in npm package @keystone-6/auth
CVE-2020-7758 Vulnerability in npm package browserless-chrome
CVE-2023-37959 Vulnerability in maven package org.jenkins-ci.plugins:sumologic-publisher