CVE-2021-45955

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…

published December 31, 2021

CVSS
—
EPSS
3%
Percentile
84.7
In the wild
Unconfirmed
What it is

⚠️ A sneaky heap-based buffer overflow lurks in Dnsmasq 2.86, thanks to a missing bounds check when re-inserting pseudo headers! Think of it like a delivery service that accepts oversized packages without checking their size—eventually, it can lead to a jam in the sorting room! If a packet is too big, it can overflow and cause unexpected behavior. This vulnerability could potentially allow an attacker to manipulate the heap, leading to unpredictable outcomes in your Dnsmasq service. While there's no immediate exploitation reported, the risks of instability or malicious takeover can be absolutely devastating.

Put simply

Think of it like a delivery service that accepts oversized packages without checking their size—eventually, it can lead to a jam in the sorting room! If a packet is too big, it can overflow and cause unexpected behavior. CVE-2021-45955 involves a heap-based buffer overflow in Dnsmasq due to a failure to enforce proper bounds checks during packet resizing, leading to potential memory corruption.

What to do

This vulnerability could potentially allow an attacker to manipulate the heap, leading to unpredictable outcomes in your Dnsmasq service. While there's no immediate exploitation reported, the risks of instability or malicious takeover can be absolutely devastating. It's advisable to monitor for updates from the vendor and apply any patches as they become available. For now, keeping your version updated and reviewing configurations can help mitigate risks. Check out the vendor's position for more guidance! You've got this! Stay vigilant, and your network will be as safe as houses! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02519 · 84.7th percentile
Published
2021-12-31T23:53Z
EPSS history
Timeline
  • 31 DEC 23:53Z
    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…
    cvelistv5