CVE-2020-25682
- State
- Published
- Severity
- Not scored
- Published
- Jan 20, 2021
- Updated
- Nov 4, 2025
- Reserved
- Sep 16, 2020
Description
A flaw was found in dnsmasq before 2.83. A buffer overflow vulnerability was discovered in the way dnsmasq extract names from DNS packets before validating them with DNSSEC data. An attacker on the network, who can create valid DNS replies, could use this flaw to cause an overflow with arbitrary data in a heap-allocated memory, possibly executing code on the machine. The flaw is in the rfc1035.c:extract_name() function, which writes data to the memory pointed by name assuming MAXDNAME*2 bytes are available in the buffer. However, in some code execution paths, it is possible extract_name() gets passed an offset from the base buffer, thus reducing, in practice, the number of available bytes that can be written in the buffer. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Scores
The record has no CVSS score.
Weaknesses
Affected Products
| Product | Versions |
|---|---|
dnsmasqn/a |
|
References
- https://www.jsof-tech.com/disclosures/dnspooq/
- https://bugzilla.redhat.com/show_bug.cgi?id=1882014
- FEDORA-2021-84440e87bavendor-advisory
- GLSA-202101-17vendor-advisory
- DSA-4844vendor-advisory
- FEDORA-2021-2e4c3d5a9dvendor-advisory
- [debian-lts-announce] 20210322 [SECURITY] [DLA 2604-1] dnsmasq security updatemailing-list
- https://www.kb.cert.org/vuls/id/434904
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.