Bug 2048928 (CVE-2021-45955) - CVE-2021-45955 dnsmasq: heap-based buffer overflow in resize_packet
Summary: CVE-2021-45955 dnsmasq: heap-based buffer overflow in resize_packet
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-45955
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2048929 2090008 2090009 2090010 2090011 2090012 2090013 2090014 2090015
Blocks: 2048923
TreeView+ depends on / blocked
 
Reported: 2022-02-01 08:23 UTC by Marian Rehak
Modified: 2022-07-13 22:48 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A heap-based out-of-bounds WRITE flaw was found in dnsmasq. A remote attacker who can trigger a packet resize can use this flaw to write up to 50 bytes to the heap via a memmove call.
Clone Of:
Environment:
Last Closed: 2022-06-23 18:44:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-02-01 08:23:33 UTC
Dnsmasq 2.86 has a heap-based buffer overflow in resize_packet (called from FuzzResizePacket and fuzz_rfc1035.c).

Reference:

https://github.com/google/oss-fuzz-vulns/blob/main/vulns/dnsmasq/OSV-2021-932.yaml
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35898

Comment 1 Marian Rehak 2022-02-01 08:23:49 UTC
Created dnsmasq tracking bugs for this issue:

Affects: fedora-all [bug 2048929]


Note You need to log in before you can comment on or make changes to this bug.