CVE-2021-45955

CRITICAL

dnsmasq 2.86 - Heap-Based Buffer Overflow in resize_packet

Title source: llm
STIX 2.1

Description

Dnsmasq 2.86 has a heap-based buffer overflow in resize_packet (called from FuzzResizePacket and fuzz_rfc1035.c) because of the lack of a proper bounds check upon pseudo header re-insertion. NOTE: the vendor's position is that CVE-2021-45951 through CVE-2021-45957 "do not represent real vulnerabilities, to the best of our knowledge." However, a contributor states that a security patch (mentioned in 016162.html) is needed

References (4)

Core 4
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35898
Mailing List, Third Party Advisory x_refsource_misc
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q1/016162.html
Mailing List, Third Party Advisory x_refsource_misc
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q1/016164.html

Scores

CVSS v3 9.8
EPSS 0.0252
EPSS Percentile 82.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-787
Status published
Products (1)
thekelleys/dnsmasq 2.86
Published Jan 01, 2022
Tracked Since Feb 18, 2026