CVE-2022-32210: ProxyAgent vulnerable to MITM
7.7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.35902%
CWE
Published
6/17/2022
Updated
1/27/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
undici | npm | >= 4.8.2, <= 5.5.0 | 5.5.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from ProxyAgent's failure to implement certificate validation during TLS handshakes with the target server when using a proxy. The dispatch
function orchestrates proxy communication but does not enforce secure TLS parameters. The createConnection
function (or equivalent TLS setup logic) likely omits 'rejectUnauthorized' checks and proper SNI configuration, enabling unverified MITM proxying. These functions are core to the agent's proxy handling, aligning with the described MITM behavior and CWE-295.