DNS: DNSmasq multiple Out-of-Bounds Write

This signature detects attempts to exploit a known vulnerability against DNSmasq. A successful attack can lead to a buffer overflow and arbitrary remote code execution within the context of the DNSmasq service.

Extended Description

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.

Affected Products

Debian debian_linux

Short Name
DNS:OVERFLOW:DNSMASQ-MUL-OOB
Severity
Major
Recommended
False
Recommended Action
Drop
Category
DNS
Keywords
CVE-2020-25681 CVE-2020-25682 CVE-2020-25683 CVE-2020-25687 DNSmasq Out-of-Bounds Write multiple
Release Date
03/11/2021
Supported Platforms

srx-branch-12.3

srx-19.3

srx-branch-19.3

vsrx3bsd-19.2

srx-branch-19.4

vsrx-19.4

mx-12.3

mx-19.4

vmx-19.4

mx-19.3

vsrx3bsd-19.4

srx-19.4

vsrx-12.3

vmx-19.3

vsrx-19.2

srx-12.3

Sigpack Version
3590
False Positive
Unknown
Vendors

Fedoraproject

Thekelleys

Debian

CVSS Score

8.3

7.1

Found a potential security threat?