CVSS 3.1
3.7 lowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NLow (3.7). EPSS 2.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NExplain CVE-2020-25685 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-25685?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-25685?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-25685 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| thekelleys:dnsmasq | before 2.83 |
| fedoraproject:fedora | 32 |
| fedoraproject:fedora | 33 |
| debian:debian_linux | 10.0 |
| arista:eos | from 4.21 before 4.21.14m |
| arista:eos | from 4.22 before 4.22.9m |
| arista:eos | from 4.23 before 4.23.7m |
| arista:eos | from 4.24 before 4.24.5m |
| arista:eos | from 4.25 before 4.25.2f |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | dnsmasq | 2.80-1+deb10u1 | DSA-4844-1 |
| Debian | 12, 13, 14 | dnsmasq | 2.83-1 | DEBIAN-CVE-2020-25685 |
| Ubuntu | 16.04:LTS | dnsmasq | 2.75-1ubuntu0.16.04.7 | UBUNTU-CVE-2020-25685 USN-4698-1 |
| Ubuntu | 18.04:LTS | dnsmasq | 2.79-1ubuntu0.2 | UBUNTU-CVE-2020-25685 USN-4698-1 |
| Ubuntu | 20.04:LTS | dnsmasq | 2.80-1.1ubuntu1.2 | UBUNTU-CVE-2020-25685 USN-4698-1 |
| Ubuntu | Pro:14.04:LTS | dnsmasq | no fix listed | UBUNTU-CVE-2020-25685 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | dnsmasq, dnsmasq-utils, dnsmasq-debuginfo | 0:2.76-16.el7_9.1 | RHSA-2021:0153 |
| Red Hat | enterprise_linux:7::computenode | dnsmasq-utils, dnsmasq-debuginfo | 0:2.76-16.el7_9.1 | RHSA-2021:0153 |
| Red Hat | enterprise_linux:7::hypervisor | redhat-virtualization-host, redhat-virtualization-host-image-update | 0:4.3.13-20210127.0.el7_9 | RHSA-2021:0395 |
| Red Hat | enterprise_linux:8::appstream | dnsmasq, dnsmasq-utils, dnsmasq-debuginfo and 2 more | 0:2.79-13.el8_3.1 | RHSA-2021:0150 |
| Red Hat | rhel_aus:7.2::server | dnsmasq, dnsmasq-utils, dnsmasq-debuginfo | 0:2.66-14.el7_2.3 | RHSA-2021:0240 |
| Red Hat | rhel_aus:7.3::server | dnsmasq, dnsmasq-utils, dnsmasq-debuginfo | 0:2.66-21.el7_3.3 | RHSA-2021:0245 |
| Red Hat | rhel_aus:7.4::server, rhel_e4s:7.4::server, rhel_tus:7.4::server | dnsmasq, dnsmasq-utils, dnsmasq-debuginfo | 0:2.76-2.el7_4.3 | RHSA-2021:0156 |
| Red Hat | rhel_eus:7.6::computenode, rhel_eus:7.6::server | dnsmasq, dnsmasq-utils, dnsmasq-debuginfo | 0:2.76-7.el7_6.2 | RHSA-2021:0155 |
| Red Hat | rhel_eus:7.7::computenode, rhel_eus:7.7::server | dnsmasq, dnsmasq-utils, dnsmasq-debuginfo | 0:2.76-10.el7_7.2 | RHSA-2021:0154 |
| Red Hat | rhel_eus:8.1::appstream | dnsmasq, dnsmasq-utils, dnsmasq-debuginfo and 2 more | 0:2.79-6.el8_1.1 | RHSA-2021:0152 |
| Red Hat | rhel_eus:8.2::appstream | dnsmasq, dnsmasq-utils, dnsmasq-debuginfo and 2 more | 0:2.79-11.el8_2.2 | RHSA-2021:0151 |
| Red Hat | rhev_hypervisor:4.4::el8 | redhat-virtualization-host, redhat-virtualization-host-image-update | 0:4.4.4-20210201.0.el8_3 | RHSA-2021:0401 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 more | dnsmasq | 2.78-18.15.1 | SUSE-SU-2021:0166-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 more | dnsmasq | 2.78-3.11.1 | SUSE-SU-2021:0162-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Basesystem 15 SP2 | dnsmasq | 2.78-7.6.1 | SUSE-SU-2021:0163-1 |
| SUSE | Linux Enterprise Point of Sale 11 SP3 | dnsmasq | 2.78-0.16.14.1 | SUSE-SU-2021:14604-1 |
| SUSE | Linux Enterprise Server 11 SP4-LTSS | dnsmasq | 2.78-0.17.15.1 | SUSE-SU-2021:14603-1 |
| openSUSE | Leap 15.1 | dnsmasq | 2.78-lp151.5.6.1 | openSUSE-SU-2021:0129-1 |
| openSUSE | Leap 15.2 | dnsmasq | 2.78-lp152.7.3.1 | openSUSE-SU-2021:0124-1 |
| openSUSE | Tumbleweed | dnsmasq | 2.86-1.1 | openSUSE-SU-2024:10721-1 |
| Alpine | v3.10, v3.11, v3.12 and 12 more | dnsmasq | 2.83-r0 | ALPINE-CVE-2020-25685 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
Dnsmasq may be run by libvirt and/or NetworkManager. libvirt uses dnsmasq by default to provide DNS service to its guests. NetworkManager may be configured to use dnsmasq to provide DNS service to the system, if a line `dns=dnsmasq` is present in the `[main]` section of the configuration file /etc/NetworkManager/NetworkManager.conf.
In Red Hat OpenStack Platform (RHOSP) and Red Hat Virtualization (RHV), the dnsmasq package is provided by the underlying Red Hat Enterprise Linux (RHEL) product. RHOSP and RHV are therefore indirectly affected, so please ensure that the underlying RHEL dnsmasq package is updated.
The impact of this flaw can be reduced by disabling the dnsmasq cache by adding `--cache-size=0` when calling dnsmasq or by adding a line with `cache-size=0` to the dnsmasq configuration file (/etc/dnsmasq.conf by default).
When using Red Hat Enterprise Linux 8.3 with libvirt through a virt:rhel module, use `virsh net-edit <network-name>` and reference https://libvirt.org/formatnetwork.html#elementsNamespaces to add the suggested option `cache-size=0`.
There is no way to customize the dnsmasq configuration generated by libvirt, when using versions of Red Hat Enterprise Linux prior to version 8.3. If dnsmasq is being run through NetworkManager, create a new file in /etc/NetworkManager/dnsmasq.d/ and add `cache-size=0` to it.
In all cases, by disabling the cache, you may experience a performance loss in your environment due to all DNS queries being forwarded to the upstream servers. Please evaluate if the mitigation is appropriate for the system’s environment before applying.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | dnsmasq-0:2.76-16.el7_9.1 | Fixed 2021-01-19 | RHSA-2021:0153 |
| Red Hat Enterprise Linux 7.2 Advanced Update Support | dnsmasq-0:2.66-14.el7_2.3 | Fixed 2021-01-25 | RHSA-2021:0240 |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | dnsmasq-0:2.66-21.el7_3.3 | Fixed 2021-01-25 | RHSA-2021:0245 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | dnsmasq-0:2.76-2.el7_4.3 | Fixed 2021-01-19 | RHSA-2021:0156 |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | dnsmasq-0:2.76-2.el7_4.3 | Fixed 2021-01-19 | RHSA-2021:0156 |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | dnsmasq-0:2.76-2.el7_4.3 | Fixed 2021-01-19 | RHSA-2021:0156 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | dnsmasq-0:2.76-7.el7_6.2 | Fixed 2021-01-19 | RHSA-2021:0155 |
| Red Hat Enterprise Linux 7.7 Extended Update Support | dnsmasq-0:2.76-10.el7_7.2 | Fixed 2021-01-19 | RHSA-2021:0154 |
| Red Hat Enterprise Linux 8 | dnsmasq-0:2.79-13.el8_3.1 | Fixed 2021-01-19 | RHSA-2021:0150 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | dnsmasq-0:2.79-6.el8_1.1 | Fixed 2021-01-19 | RHSA-2021:0152 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | dnsmasq-0:2.79-11.el8_2.2 | Fixed 2021-01-19 | RHSA-2021:0151 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | redhat-virtualization-host-0:4.3.13-20210127.0.el7_9 | Fixed 2021-02-03 | RHSA-2021:0395 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | redhat-virtualization-host-0:4.4.4-20210201.0.el8_3 | Fixed 2021-02-03 | RHSA-2021:0401 |
| Red Hat Enterprise Linux 5 | dnsmasq | Out of support scope | |
| Red Hat Enterprise Linux 6 | dnsmasq | Out of support scope | |
| Red Hat Enterprise Linux 9 | dnsmasq | Not affected | |
| Red Hat OpenStack Platform 10 (Newton) | dnsmasq | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | dnsmasq | Not 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-25685.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-21-019-01 | dnsmasq by Simon Kelley (Update A) | 2021-01-19 | Multiple | RUGGEDCOM RM1224, SCALANCE M-800, SCALANCE S615 and 2 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.