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-31197 Vulnerability in maven package org.postgresql:postgresql
CVE-2022-35513 Vulnerability in npm package blink1control2
CVE-2023-38695 Vulnerability in npm package @simonsmith/cypress-image-snapshot
CVE-2020-28500 Vulnerability in maven package org.webjars.bowergithub.lodash:lodash
CVE-2020-15813 Vulnerability in maven package org.graylog2:graylog2-server