node is vulnerable to Null Byte Injection
75
CVE Score
High
Null Byte Injection
dns.resolve and the other dns resolver methods pass the hostname to c-ares as a C string. A NUL byte in that hostname ends the string, so the query uses only the text before the NUL. An application that checks a suffix after untrusted input can resolve a different name than the one it checked. The fix rejects resolver hostnames and setLocalAddress arguments that contain a NUL byte.
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 a DNS name passed to the resolver can contain a NUL byte.
0.6.0 - 22.23.3
Fixed in 22.23.423.0.0 - 24.22.0
Fixed in 24.22.125.0.0 - 26.12.0
Fixed in 26.12.1node is vulnerable to Null Byte Injection in versions 0.6.0 - 22.23.3, 23.0.0 - 24.22.0 and 25.0.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.