CVE-2020-25683: Buffer Overflow

Published Sep 23, 2020
·
Updated

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:extractname(), which could be abused to make the code execute memcpy() with a negative size in getrdata() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.

Other sources

An 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:extractname(), which could be abused to make the code execute memcpy() with a negative size in getrdata() and cause a crash in dnsmasq.

Red Hat

Affected Software

7 affected componentsFixes available
debian/dnsmasq
2.80-1+deb10u12.85-12.89-1
redhat/dnsmasq<2.83
2.83
thekelleys dnsmasq<2.83
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Debian Debian Linux=9.0
Debian Debian Linux=10.0

Event History

Jan 20, 2021
CVE Published
via MITRE·03:25 PM
Data Sourced
via MITRE·03:25 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-25683?

CVE-2020-25683 is a vulnerability found in dnsmasq before version 2.83 that allows a remote attacker to cause a heap-based buffer overflow.

2

How does CVE-2020-25683 affect dnsmasq?

CVE-2020-25683 affects dnsmasq when DNSSEC is enabled and before it validates the received DNS entries.

3

Who is affected by CVE-2020-25683?

Users of dnsmasq versions before 2.83 are affected by CVE-2020-25683.

4

What is the severity of CVE-2020-25683?

The severity of CVE-2020-25683 is high with a CVSS score of 5.9.

5

How can I mitigate CVE-2020-25683?

To mitigate CVE-2020-25683, update dnsmasq to version 2.83 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203