CVE-2020-14312 Misconfiguration in dnsmasq

Medium 5.9 Published Updated

Default dnsmasq configuration allows remote attackers to use it as an open resolver for DDoS attacks against other systems.

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

What is CVE-2020-14312?

CVE-2020-14312 is a medium-severity vulnerability in Fedoraproject Fedora, published on 5 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in the default configuration of dnsmasq, as shipped with Fedora versions prior to 31 and in all versions Red Hat Enterprise Linux, where it listens on any interface and accepts queries from addresses outside of its local subnet. In particular, the option `local-service` is not enabled. Running dnsmasq in this manner may inadvertently make it an open resolver accessible from any address on the internet. This flaw allows an attacker to conduct a Distributed Denial of Service (DDoS) against other systems.

Weakness: CWE-284

Which versions are affected by CVE-2020-14312?

It affects 1 product.

Linux distribution packages (1)
dnsmasq openSUSE:TumbleweedAll versions2.86-3.1

Products include Fedoraproject Fedora.

How do I fix CVE-2020-14312?

Change a configuration setting.

Is CVE-2020-14312 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-14312, GHSA-xr95-5hhj-crp6, MGASA-2020-0310, OESA-2022-1821, UBUNTU-CVE-2020-14312, openSUSE-SU-2024:11653-1.

Is CVE-2020-14312 in your software?

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

Check your SBOMs for free