Bug 2048925 (CVE-2021-45956) - CVE-2021-45956 dnsmasq: a heap-based buffer overflow in print_mac
Summary: CVE-2021-45956 dnsmasq: a heap-based buffer overflow in print_mac
Status: NEW
Alias: CVE-2021-45956
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2048926
Blocks: 2048923
TreeView+ depends on / blocked
Reported: 2022-02-01 08:17 UTC by Marian Rehak
Modified: 2022-03-31 22:36 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github google oss-fuzz pull 7293 0 None open Attempt to fix insufficient extract_name buffer 2022-02-16 23:35:52 UTC
chromium.org oss-fuzz 35887 0 None None None 2022-02-16 23:35:52 UTC

Description Marian Rehak 2022-02-01 08:17:18 UTC
Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply).



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

Affects: fedora-all [bug 2048926]

Comment 3 Petr Menšík 2022-02-16 23:35:52 UTC
Because print_mac also uses daemon->namebuff as printout buffer, I expect this is too related to extract_name fixes. After applying PR [1] I were unable to reproduce this issue anymore. It seems to be related, probably this is also bogus issue.

1. https://github.com/google/oss-fuzz/pull/7293

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