Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

DLA-2604-1

Active Unknown

dnsmasq - security update

Published
22 Mar 2021, 00:00:00 UTC

Related CVEs

CVE identifiers linked by this publisher.

5
Publisher relationship details 5 records
Explicit publisher CVE relationships
CVEPublisher evidence
CVE-2020-25681https://security-tracker.debian.org/tracker/CVE-2020-25681
CVE-2020-25682https://security-tracker.debian.org/tracker/CVE-2020-25682
CVE-2020-25683https://security-tracker.debian.org/tracker/CVE-2020-25683
CVE-2020-25684https://security-tracker.debian.org/tracker/CVE-2020-25684
CVE-2020-25687https://security-tracker.debian.org/tracker/CVE-2020-25687

Description

CVE-2020-25681: A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause a buffer overflow with arbitrary data in a heap memory

Read full publisher description 3437 characters

CVE-2020-25681: A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause a buffer overflow with arbitrary data in a heap memory segment, possibly executing code on the machine. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. CVE-2020-25682: 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. 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 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. CVE-2020-25684: A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in the forward.c:reply_query() if the reply destination address/port is used by the pending forwarded queries. However, it does not use the address/port to retrieve the exact forwarded query, substantially reducing the number of attempts an attacker on the network would have to perform to forge a reply and get it accepted by dnsmasq. This issue contrasts with RFC5452, which specifies a query's attributes that all must be used to match a reply. This flaw allows an attacker to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25685 or CVE-2020-25686, the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity. CVE-2020-25687: 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.

No solution guidance was provided.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

1

Shared package data

Applies to this occurrence
Package role
Source package
Ecosystem
Debian:stretch
Fixed version
2.76-5+deb9u3

Affected ranges and events

  • ECOSYSTEMRepository Not supplied in this record
    • Fixed at 2.76-5+deb9u3
  1. 1dnsmasqSource package

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

6
  • DLA-2604-1 advisory · Tags: Unknown https://www.debian.org/lts/security/2021/dla-2604
  • CVE-2020-25681 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2020-25681
  • CVE-2020-25682 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2020-25682
  • CVE-2020-25683 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2020-25683
  • CVE-2020-25684 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2020-25684
  • CVE-2020-25687 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2020-25687

Provenance

Schema version
Unknown
Parser version
debian-dsa-dla-tracker/1
Attribution
Debian Security Team
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
structured_advisory_listhttps://salsa.debian.org/security-tracker-team/security-tracker/-/raw/master/data/DLA/listUnknown7d2e7272b4b62f41f9293b72e011d56a205d3b42b3ccb23eecffd450801bfa05debian-dsa-dla-tracker/1Unknown

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected