node is vulnerable to Improper Certificate Validation
74
CVE Score
High
Improper Certificate Validation
tls.checkServerIdentity uses net.isIP on the original hostname to decide whether it is an IP address. Fullwidth digits, an ideographic full stop, or a short form such as 127.1 normalize to an IPv4 address the resolver connects to, while the check still compares the hostname as a DNS name. A certificate for that DNS name or common name can pass verification for the connected address. The fix rejects hostnames that become IP addresses only after normalization.
Upgrade the node and/or the nodejs library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and TLS hostname verification runs on a hostname that normalizes to an IP address.
24.20.0 - 24.22.0
Fixed in 24.22.126.6.0 - 26.12.0
Fixed in 26.12.1node is vulnerable to Improper Certificate Validation in versions 24.20.0 - 24.22.0 and 26.6.0 - 26.12.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.