CVE-2021-45956 Memory corruption in n/a

Critical 9.8 Published Updated

Heap-based buffer overflow in Dnsmasq's print_mac function allows attackers to potentially execute 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
Available

What is CVE-2021-45956?

CVE-2021-45956 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 print_mac (called from log_packet and dhcp_reply). 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-45956?

It affects 1 product.

Products include Thekelleys Dnsmasq.

How do I fix CVE-2021-45956?

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-45956 being exploited?

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

Sources

Also known as AZL-8963, GHSA-c76g-xw7w-9qj6.

Is CVE-2021-45956 in your software?

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

Check your SBOMs for free