undici is vulnerable to Improper Certificate Validation
74
High Risk
BalancedPool deep-clones constructor options with JSON, which silently drops function-valued connect and tls options such as a caller-supplied checkServerIdentity. A certificate the application was written to reject is then accepted if it still passes Node's default hostname and chain checks. Client, Pool, Agent, and RoundRobinPool are not affected because they destructure those options before the clone. The fix preserves connect and tls outside the JSON clone so custom verification callbacks reach each upstream.
You are affected if you are using a version that falls within the vulnerable range and you construct a BalancedPool with function-valued connect or tls options.
undici is vulnerable to Improper Certificate Validation in versions 7.24.1 - 7.29.0 and 8.0.0 - 8.10.1.
Upgrade the undici library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.