cve.bz

CVE-2020-14312 fedoraproject fedora: Improper Access Control

5.9 mediumEPSS 1.2%

Medium (5.9) in fedoraproject fedora. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-14312 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-14312?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-14312?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-14312 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fedoraproject:fedorabefore 31

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14dnsmasq2.69-1DEBIAN-CVE-2020-14312
UbuntuPro:14.04:LTSdnsmasqno fix listedUBUNTU-CVE-2020-14312
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morednsmasq2.86-7.14.1SUSE-SU-2021:3530-1
openSUSELeap 15.2dnsmasq2.86-lp152.7.6.1openSUSE-SU-2021:1426-1
openSUSELeap 15.3dnsmasq2.86-7.14.1openSUSE-SU-2021:3530-1
openSUSETumbleweeddnsmasq2.86-3.1openSUSE-SU-2024:11653-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Even though Red Hat Enterprise Linux 8 and Fedora do not ship a secure default, they have firewalld service enabled by default, which denies incoming DNS queries, preventing this potential attack vector.

In Red Hat OpenStack Platform 13, the dnsmasq package is pulled directly from the RHEL channel and not the RHOSP channel. RHOSP is therefore unaffected, but please ensure that the underlying Red Hat Enterprise Linux dnsmasq package is current.

Red Hat's mitigation

To restrict the DNS server to queries coming from the local subnet, add `local-service` to your /etc/dnsmasq.conf file or in a file in /etc/dnsmasq.d. A firewall can be configured for additional protection against undesired traffic.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5dnsmasqOut of support scope
Red Hat Enterprise Linux 6dnsmasqOut of support scope
Red Hat Enterprise Linux 7dnsmasqWill not fix
Red Hat Enterprise Linux 8dnsmasqWill not fix
Red Hat OpenStack Platform 10 (Newton)dnsmasqOut of support scope
Red Hat OpenStack Platform 13 (Queens)dnsmasqNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-14312.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON