CVE-2021-45954 Memory corruption in n/a

Critical 9.8 Published Updated

Heap-based buffer overflow in Dnsmasq's extract_name function could allow attackers to execute arbitrary code or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-45954?

CVE-2021-45954 is a critical memory corruption vulnerability in n/a, published on 31 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Dnsmasq 2.86 has a heap-based buffer overflow in extract_name (called from answer_auth and FuzzAuth). NOTE: the vendor's position is that CVE-2021-45951 through CVE-2021-45957 "do not represent real vulnerabilities, to the best of our knowledge.

Weakness: CWE-787

Which versions are affected by CVE-2021-45954?

It affects 1 product.

Products include Thekelleys Dnsmasq.

How do I fix CVE-2021-45954?

No fix has been published for CVE-2021-45954 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-45954 being exploited?

There is no known exploitation of CVE-2021-45954 in the wild and no public exploit code.

Sources

Also known as GHSA-m967-87xc-9h3f.

Is CVE-2021-45954 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free