Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. undici
  4. ›
  5. CVE-2022-32210

CVE-2022-32210: Improper Certificate Validation

July 14, 2022 (updated July 25, 2022)

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.

References

  • github.com/advisories/GHSA-pgw7-wx7w-2w33
  • github.com/nodejs/undici/security/advisories/GHSA-pgw7-wx7w-2w33
  • hackerone.com/reports/1583680
  • nvd.nist.gov/vuln/detail/CVE-2022-32210

Code Behaviors & Features

Detect and mitigate CVE-2022-32210 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.8.2 before 5.5.1

Fixed versions

  • 5.5.1

Solution

Upgrade to version 5.5.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

npm/undici/CVE-2022-32210.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:39 +0000.