CVE-2020-25687
CVE-2020-25687
This page contains facts from public vulnerability sources. Check the original advisory before updating.
A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. This flaw allows a remote attacker, who can create valid DNS replies, to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in sort_rrset() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
CVSS 5.9 · Medium · EPSS 89.3% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
dnsmasq
- Versions
- dnsmasq 2.83: Affected
No fix published
dnsmasq Debian:12
- Affected ranges
- ECOSYSTEM: < 2.83-1
Update to 2.83-1
dnsmasq Debian:13
- Affected ranges
- ECOSYSTEM: < 2.83-1
Update to 2.83-1
dnsmasq Debian:14
- Affected ranges
- ECOSYSTEM: < 2.83-1
Update to 2.83-1
dnsmasq Ubuntu:16.04:LTS
- Versions
- 2.75-1
- 2.75-1ubuntu0.16.04.1
- 2.75-1ubuntu0.16.04.2
- 2.75-1ubuntu0.16.04.3
- 2.75-1ubuntu0.16.04.4
- 2.75-1ubuntu0.16.04.5
- Affected ranges
- ECOSYSTEM: < 2.75-1ubuntu0.16.04.7
Update to 2.75-1ubuntu0.16.04.7
dnsmasq Ubuntu:18.04:LTS
- Versions
- 2.78-1
- 2.78-3
- 2.79-1
- Affected ranges
- ECOSYSTEM: < 2.79-1ubuntu0.2
Update to 2.79-1ubuntu0.2
dnsmasq Ubuntu:20.04:LTS
- Versions
- 2.80-1ubuntu2
- 2.80-1ubuntu4
- 2.80-1.1ubuntu1
- Affected ranges
- ECOSYSTEM: < 2.80-1.1ubuntu1.2
Update to 2.80-1.1ubuntu1.2
Original sources
- https://www.jsof-tech.com/disclosures/dnspooq/
- https://bugzilla.redhat.com/show_bug.cgi?id=1891568
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACTIHWHGQY32/
- https://security.gentoo.org/glsa/202101-17
- https://www.debian.org/security/2021/dsa-4844
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQKG3KM2QME/
- https://lists.debian.org/debian-lts-announce/2021/03/msg00027.html
- https://www.kb.cert.org/vuls/id/434904
- https://nvd.nist.gov/vuln/detail/CVE-2020-25687