CVE-2020-25683 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. A remote attacker, who....
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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. A remote attacker, who can create valid DNS replies, could use this flaw 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 get_rdata() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
Upgrade path
25 packages: 22 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/dnsmasq(Ubuntu Pro 14.04) | = 2.66-4ubuntu1; = 2.67-1; = 2.68-1; = 2.68-1ubuntu0.1 +7 more | No fix listed | No fix yet |
| alpine/dnsmasq(Alpine v3.10) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.11) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.12) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.13) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.14) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.15) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.16) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.17) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.18) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.19) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.20) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.21) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.22) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.23) | < 2.83-r0 | 2.83-r0 | Fixed |
| alpine/dnsmasq(Alpine v3.24) | < 2.83-r0 | 2.83-r0 | Fixed |
| debian/dnsmasq(Debian 12) | < 2.83-1 | 2.83-1 | Fixed |
| debian/dnsmasq(Debian 13) | < 2.83-1 | 2.83-1 | Fixed |
| debian/dnsmasq(Debian 14) | < 2.83-1 | 2.83-1 | Fixed |
| thekelleys dnsmasq | < 2.83 | 2.83 | Fixed |
| ubuntu/dnsmasq(Ubuntu 16.04) | < 2.75-1ubuntu0.16.04.7; = 2.75-1; = 2.75-1ubuntu0.16.04.1; = 2.75-1ubuntu0.16.04.2 +3 more | 2.75-1ubuntu0.16.04.7 | Fixed |
| ubuntu/dnsmasq(Ubuntu 18.04) | < 2.79-1ubuntu0.2; = 2.78-1; = 2.78-3; = 2.79-1 | 2.79-1ubuntu0.2 | Fixed |
| ubuntu/dnsmasq(Ubuntu 20.04) | < 2.80-1.1ubuntu1.2; = 2.80-1.1ubuntu1; = 2.80-1ubuntu2; = 2.80-1ubuntu4 | 2.80-1.1ubuntu1.2 | Fixed |
| debian linux | = 9.0; = 10.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 32; = 33 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/dnsmasq(Debian:12) | < 2.83-1 | 2.83-1 |
| debian/dnsmasq(Debian:13) | < 2.83-1 | 2.83-1 |
| debian/dnsmasq(Debian:14) | < 2.83-1 | 2.83-1 |
| thekelleys dnsmasq | < 2.83 | 2.83 |
| fedoraproject fedora | = 32 | No fix listed |
| fedoraproject fedora | = 33 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| alpine/dnsmasq(Alpine:v3.10) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.11) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.12) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.13) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.14) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.15) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.16) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.17) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.18) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.19) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.20) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.21) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.22) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.23) | < 2.83-r0 | 2.83-r0 |
| alpine/dnsmasq(Alpine:v3.24) | < 2.83-r0 | 2.83-r0 |
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | All versions | No fix listed |
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | = 2.66-4ubuntu1 | No fix listed |
Show 24 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | = 2.67-1 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | = 2.68-1 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | = 2.68-1ubuntu0.1 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | = 2.68-1ubuntu0.2 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | = 2.68-1ubuntu0.2+esm1 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | = 2.68-1ubuntu0.2+esm2 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | = 2.68-1ubuntu0.2+esm3 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | = 2.68-1ubuntu0.2+esm5 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:Pro:14.04) | = 2.68-1ubuntu0.2+esm6 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:16.04) | < 2.75-1ubuntu0.16.04.7 | 2.75-1ubuntu0.16.04.7 |
| ubuntu/dnsmasq(Ubuntu:16.04) | = 2.75-1 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:16.04) | = 2.75-1ubuntu0.16.04.1 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:16.04) | = 2.75-1ubuntu0.16.04.2 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:16.04) | = 2.75-1ubuntu0.16.04.3 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:16.04) | = 2.75-1ubuntu0.16.04.4 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:16.04) | = 2.75-1ubuntu0.16.04.5 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:18.04) | < 2.79-1ubuntu0.2 | 2.79-1ubuntu0.2 |
| ubuntu/dnsmasq(Ubuntu:18.04) | = 2.78-1 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:18.04) | = 2.78-3 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:18.04) | = 2.79-1 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:20.04) | < 2.80-1.1ubuntu1.2 | 2.80-1.1ubuntu1.2 |
| ubuntu/dnsmasq(Ubuntu:20.04) | = 2.80-1ubuntu2 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:20.04) | = 2.80-1ubuntu4 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:20.04) | = 2.80-1.1ubuntu1 | No fix listed |
References
- Debian Security Tracker CVE-2020-25683 vendor-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- [debian-lts-announce] 20210322 [SECURITY] [DLA 2604-1] dnsmasq security update mailing-list third-party-advisory
- FEDORA-2021-2e4c3d5a9d vendor-advisory
- FEDORA-2021-84440e87ba vendor-advisory
- GLSA-202101-17 third-party-advisory vendor-advisory
- DSA-4844 third-party-advisory vendor-advisory
- www.jsof-tech.com issue-tracking third-party-advisory
- www.kb.cert.org
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- lists.thekelleys.org.uk issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking