c-ares.c-ares is vulnerable to Denial of Service (DoS)
53
Medium Risk
c-ares allocates resource record arrays from the answer, authority, and additional counts in the DNS header before checking that the message holds those records. A 12 byte header that sets each count to 65535 forces a multi megabyte allocation that is released when the parse fails. A stream of those responses puts pressure on the allocator and can stall resolution. The fix rejects a record count that cannot fit in the remaining bytes before it allocates.
You are affected if you are using a version that falls within the vulnerable range.
c-ares.c-ares is vulnerable to Denial of Service (DoS) in versions 1.21.0 - 1.34.6.
Upgrade the c-ares.c-ares and/or the c-ares 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.