CVE-2023-50387 Denial of service in n/a

High 7.5 Published Updated

Remote attackers can cause CPU exhaustion in DNS resolvers by sending crafted DNSSEC responses, leading to 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-2023-50387?

CVE-2023-50387 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 14 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related RFCs) allow remote attackers to cause a denial of service (CPU consumption) via one or more DNSSEC responses, aka the "KeyTrap" issue. One of the concerns is that, when there is a zone with many DNSKEY and RRSIG records, the protocol specification implies that an algorithm must evaluate all combinations of DNSKEY and RRSIG records.

Weakness: CWE-770

Which versions are affected by CVE-2023-50387?

It affects 13 products.

Linux distribution packages (2)
dnsmasq openSUSE:TumbleweedAll versions2.90-1.1
pdns-recursor openSUSE:TumbleweedAll versions5.0.2-1.1

Products include Fedoraproject Fedora, Isc Bind, Microsoft Windows Server 2008, Microsoft Windows Server 2012, Microsoft Windows Server 2016, Microsoft Windows Server 2019 and 7 more.

How do I fix CVE-2023-50387?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-50387 being exploited?

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

Public exploit code: 3 proofs of concept on GitHub.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2023-50387, AZL-34350, AZL-34419, AZL-34440, AZL-34559, AZL-35328 and 8 more.

Is CVE-2023-50387 in your software?

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

Check your SBOMs for free