PT-2026-85804 · Npm · Undici
CVSS v3.1
7.4
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
undici versions 7.24.1 through 7.29.0
undici versions 8.0.0 through 8.10.1
Description
The
BalancedPool constructor uses an internal deep-clone process that serializes and reparses the options object as JSON. Since JSON does not support functions, any function-valued TLS options, such as a custom checkServerIdentity callback or a custom connector within the connect option, are silently discarded. This can lead to a TLS certificate validation bypass where a peer that should be rejected by a custom checkServerIdentity function is accepted if it passes the default Node.js hostname and chain checks.Recommendations
Update undici versions 7.24.1 through 7.29.0 to version 7.29.1.
Update undici versions 8.0.0 through 8.10.1 to version 8.10.2.
Exploit
Fix
Improper Certificate Validation
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Undici