node is vulnerable to Improper Certificate Validation
48
CVE Score
Medium
Improper Certificate Validation
A hostname that is an IPv4 address only in a non-canonical spelling fails net.isIP, so tls.checkServerIdentity matches it as a DNS name. A certificate whose DNS subject alternative name is the normalized address can authenticate that connection. The socket still connects to an IP endpoint rather than to the DNS name in the certificate. The fix rejects the hostname before DNS name matching.
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 accepts a non-canonical IPv4 hostname.
22.23.0 - 22.23.3
Fixed in 22.23.424.17.0 - 24.22.0
Fixed in 24.22.126.3.1 - 26.12.0
Fixed in 26.12.1node is vulnerable to Improper Certificate Validation in versions 22.23.0 - 22.23.3, 24.17.0 - 24.22.0 and 26.3.1 - 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.