node is vulnerable to Denial of Service (DoS)
45
Medium Risk
Affected versions of the package are vulnerable to a denial-of-service condition in dns.resolveAny() when a DNS response contains more than 256 A records. Address/TTL parsing writes into a fixed-size 256-element stack buffer; a larger answer set overruns that buffer and aborts the Node.js process. An attacker who can influence DNS responses, for example via a malicious or compromised resolver, can repeatedly trigger this condition to crash the application. The fix sizes the TTL buffers from the DNS answer count instead of using a fixed 256-slot array.
You are affected if you are using a version that falls within the vulnerable range.
node is vulnerable to Denial of Service (DoS) in versions 25.0.0 - 26.5.0, 23.0.0 - 24.18.0 and 0.0.1 - 22.23.1.
Upgrade the node library to a 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