VDB

DEBIAN-CVE-2020-25687

DEBIAN-CVE-2020-25687 PUBLISHED CVSS 5.900000095367432 MEDIUM

Record from OSV · Published January 20, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
dnsmasqDebian:142.83-1
dnsmasqDebian:132.83-1
dnsmasqDebian:122.83-1

Risk scores

CVSS 3.1
5.900000095367432
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Debian:14dnsmasq0
Debian:13dnsmasq0
Debian:12dnsmasq0

Timeline

  • Jan 20, 2021 CVE Published
  • Oct 26, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln DEBIAN-CVE-2020-25687
vulnetix vdb fixes DEBIAN-CVE-2020-25687

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2020-25687/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›