VDB

CVE-2020-25682

CVE-2020-25682 PUBLISHED

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.

EPSS 34.29% · 97.1th percentile

Risk Scores

EPSS Score
34.29%
97.1th percentile

Affected Products

VendorProductVersions
Ubuntu:18.04:LTSdnsmasq2.79-1, 2.78-3, 2.78-1
Ubuntu:16.04:LTSdnsmasq2.75-1ubuntu0.16.04.3, 2.75-1ubuntu0.16.04.4, 2.75-1ubuntu0.16.04.5
Ubuntu:20.04:LTSdnsmasq2.80-1ubuntu2, 2.80-1.1ubuntu1, 2.80-1ubuntu4

Timeline

  • Jan 18, 2021 CVE Published
  • Jan 20, 2021 PoC Published
  • Apr 14, 2021 EPSS Score
  • Aug 24, 2021 EPSS Score
  • Dec 27, 2021 EPSS Score
  • Jan 6, 2022 EPSS Score
  • Feb 28, 2022 EPSS Score
  • May 1, 2022 EPSS Score
  • Sep 4, 2022 EPSS Score
  • Nov 6, 2022 EPSS Score
  • Mar 7, 2023 EPSS Score
  • May 13, 2023 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›