Vulnerability · Published Jan 20, 2021 · Assigned by redhat
CVE-2020-25686
Low 3.7
In plain English
A low-severity security flaw in dnsmasq. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.5% (higher than 93% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in dnsmasq before version 2.83. When receiving a query, dnsmasq does not check for an existing pending request for the same name and forwards a new request. By default, a maximum of 150 pending queries can be sent to upstream servers, so there can be at most 150 queries for the same name. This flaw allows an off-path attacker on the network to substantially reduce the number of attempts that it would have to perform to forge a reply and have it accepted by dnsmasq. This issue is mentioned in the "Birthday Attacks" section of RFC5452. If chained with CVE-2020-25684, the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | dnsmasq | 2.83-r0 | ALPINE-CVE-2020-25686 |
| Alpine:v3.21 | dnsmasq | 2.83-r0 | ALPINE-CVE-2020-25686 |
| Alpine:v3.22 | dnsmasq | 2.83-r0 | ALPINE-CVE-2020-25686 |
| Alpine:v3.23 | dnsmasq | 2.83-r0 | ALPINE-CVE-2020-25686 |
| Alpine:v3.24 | dnsmasq | 2.83-r0 | ALPINE-CVE-2020-25686 |
| Debian:12 | dnsmasq | 2.83-1 | DEBIAN-CVE-2020-25686 |
| Debian:13 | dnsmasq | 2.83-1 | DEBIAN-CVE-2020-25686 |
| Debian:14 | dnsmasq | 2.83-1 | DEBIAN-CVE-2020-25686 |
Affected products (as reported)
Weakness: CWE-358
References
- https://www.jsof-tech.com/disclosures/dnspooq/ x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=1890125 x_refsource_MISC
- FEDORA-2021-84440e87ba vendor-advisory, x_refsource_FEDORA
- GLSA-202101-17 vendor-advisory, x_refsource_GENTOO
- DSA-4844 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2021-2e4c3d5a9d vendor-advisory, x_refsource_FEDORA
- https://www.arista.com/en/support/advisories-notices/security-advisories/12135-security-advisory-61 x_refsource_MISC
- https://www.kb.cert.org/vuls/id/434904