CVE-2021-45957 Memory corruption in n/a

Critical 9.8 Published Updated

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

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

What is CVE-2021-45957?

CVE-2021-45957 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 answer_request (called from FuzzAnswerTheRequest and fuzz_rfc1035.c). 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-45957?

It affects 1 product.

Products include Thekelleys Dnsmasq.

How do I fix CVE-2021-45957?

No fix published yet.

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

Is CVE-2021-45957 being exploited?

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

Sources

Also known as AZL-8964, GHSA-jpgp-wjp4-f47j.

Is CVE-2021-45957 in your software?

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

Check your SBOMs for free