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://hackerone.com/reports/1583680
https://github.com/nodejs/undici/security/advisories/GHSA-pgw7-wx7w-2w33
Related Vulnerabilities
CVE-2022-41940 Vulnerability in maven package org.webjars.bower:engine.io
CVE-2020-27216 Vulnerability in maven package org.mortbay.jetty:jetty
CVE-2023-26487 Vulnerability in maven package org.webjars.npm:vega
CVE-2023-29215 Vulnerability in maven package org.apache.linkis:linkis-metadata-query-service-jdbc
CVE-2020-12265 Vulnerability in maven package org.webjars:decompress