CVE-2020-25686

dnsmasq: multiple queries forwarded for the same name makes forging replies easier for an off-path attacker

Published Jan 20, 2021 CVSS 3.1 · 3.7 Low EPSS 5.5% KEV · Not listed
Description
A flaw was found in dnsmasq before version 2.83. When receiving a query, dnsmasq does not check for an existing pending request for the same name and forwards a new request. By default, a maximum of 150 pending queries can be sent to upstream servers, so there can be at most 150 queries for the same name. This flaw allows an off-path attacker on the network to substantially reduce the number of attempts that it would have to perform to forge a reply and have it accepted by dnsmasq. This issue is mentioned in the "Birthday Attacks" section of RFC5452. If chained with CVE-2020-25684, the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4844-1 dnsmasq security update
EUVD EUVD EUVD-2020-18348 A flaw was found in dnsmasq before version 2.83. When receiving a query, dnsmasq does not check for an existing pending request for the same name and forwards a new request. By default, a maximum of 150 pending queries can be sent to upstream servers, so there can be at most 150 queries for the same name. This flaw allows an off-path attacker on the network to substantially reduce the number of attempts that it would have to perform to forge a reply and have it accepted by dnsmasq. This issue is mentioned in the "Birthday Attacks" section of RFC5452. If chained with CVE-2020-25684, the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.
Ubuntu USN Ubuntu USN USN-4698-1 Dnsmasq vulnerabilities
Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing

  • CWE-358

    Improperly Implemented Security Check for Standard

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 4, 2025, 7:12 PM
Reserved
Sep 16, 2020, 12:00 AM
Status
Modified
Published
Jan 20, 2021, 5:15 PM
Modified
Jun 17, 2026, 3:07 AM
Severity
Moderate
Public date
Jan 19, 2021, 12:00 AM