{"id":"CVE-2021-45956","aliases":["AZL-8963","DHI-btvv-7nj2-6b2g-kqf4"],"summary":"Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply).","published_at":"2021-12-31T23:53:34Z","modified_at":"2026-11-16T02:34:49.140377Z","products":[],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.027089999988675117,"percentile":0.8628399968147278,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply). 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.","affected_stack":[],"affected_other":[{"ecosystem":"Azure Linux:2","package":"dnsmasq","purl":"pkg:rpm/azure-linux/dnsmasq","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.89-1"}]}],"fixed":["2.89-1"],"provider":"osv","source":"AZL-8963","relation":"self"},{"ecosystem":"CVE","package":"thekelleys/dnsmasq","versions":["2.86"],"provider":"cvelistv5","source":"CVE-2021-45956","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"dnsmasq","purl":"pkg:deb/dhi/dnsmasq","versions":["2.91-1+deb13u1+dhi0","2.91-1+deb13u2+dhi0","2.91-1+deb13u2+dhi1"],"provider":"osv","source":"DHI-btvv-7nj2-6b2g-kqf4","relation":"self"},{"ecosystem":"NVD","package":"thekelleys:dnsmasq","versions":["2.86"],"provider":"nvd","source":"CVE-2021-45956","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"not_affected","packages":["dnsmasq","dnsmasq-utils"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-45956"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["dnsmasq","dnsmasq-utils"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-45956"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["dnsmasq","dnsmasq-utils"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-45956"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["dnsmasq","dnsmasq-utils"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-45956"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","cpe":"cpe:/a:redhat:openstack:13","status":"not_affected","packages":["dnsmasq-utils"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-45956"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-45956","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-45956","license":"CC-BY-4.0","published_at":"2021-12-31T23:53:34Z","modified_at":"2024-10-28T20:56:27.009Z","summary":"Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply).","details":"Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply). 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP:CVE-2021-45956"}],"affected":[{"ecosystem":"CVE","package":"thekelleys/dnsmasq","versions":["2.86"],"provider":"cvelistv5","source":"CVE-2021-45956","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/dnsmasq/OSV-2021-933.yaml"},{"type":"WEB","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35887"},{"type":"WEB","url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q1/016162.html"},{"type":"WEB","url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q1/016164.html"}]},{"provider":"nvd","source_id":"CVE-2021-45956","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45956","severity":[],"affected":[{"ecosystem":"NVD","package":"thekelleys:dnsmasq","versions":["2.86"],"provider":"nvd","source":"CVE-2021-45956","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"AZL-8963","relation":"self","url":"https://osv.dev/vulnerability/AZL-8963","license":"MIT","published_at":"2022-01-01T00:15:08Z","modified_at":"2026-04-21T04:34:56.577914Z","summary":"CVE-2021-45956 affecting package dnsmasq for versions less than 2.89-1","details":"Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply). 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"AZL-8963"}],"affected":[{"ecosystem":"Azure Linux:2","package":"dnsmasq","purl":"pkg:rpm/azure-linux/dnsmasq","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.89-1"}]}],"fixed":["2.89-1"],"provider":"osv","source":"AZL-8963","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45956"}]},{"provider":"osv","source_id":"DHI-btvv-7nj2-6b2g-kqf4","relation":"self","url":"https://osv.dev/vulnerability/DHI-btvv-7nj2-6b2g-kqf4","license":"Apache-2.0","published_at":"2026-11-10T10:50:20Z","modified_at":"2026-11-16T02:34:49.140377Z","summary":"Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply). NOTE: the vendor's…","details":"Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply). 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"DHI-btvv-7nj2-6b2g-kqf4"}],"affected":[{"ecosystem":"Docker Hardened Images:Debian:13","package":"dnsmasq","purl":"pkg:deb/dhi/dnsmasq","versions":["2.91-1+deb13u1+dhi0","2.91-1+deb13u2+dhi0","2.91-1+deb13u2+dhi1"],"provider":"osv","source":"DHI-btvv-7nj2-6b2g-kqf4","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-btvv-7nj2-6b2g-kqf4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45956"},{"type":"ADVISORY","url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q1/016164.html"},{"type":"ADVISORY","url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q1/016162.html"},{"type":"ADVISORY","url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/dnsmasq/OSV-2021-933.yaml"},{"type":"ADVISORY","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35887"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2021-45956"},{"type":"ADVISORY","url":"https://inthewild.io/vuln/CVE-2021-45956"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2021-45956"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2021-45956"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2021-45956"}]},{"provider":"redhat-vex","source_id":"CVE-2021-45956","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-45956","license":"CC-BY-4.0","published_at":"2022-01-01T00:00:00Z","modified_at":"2023-03-14T10:13:02Z","summary":"dnsmasq: a heap-based buffer overflow in print_mac","details":"Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply). 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N","source":"CVE-2021-45956"},{"type":"Red Hat","score":"None","source":"CVE-2021-45956"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"not_affected","packages":["dnsmasq","dnsmasq-utils"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-45956"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["dnsmasq","dnsmasq-utils"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-45956"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["dnsmasq","dnsmasq-utils"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-45956"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["dnsmasq","dnsmasq-utils"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-45956"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","cpe":"cpe:/a:redhat:openstack:13","status":"not_affected","packages":["dnsmasq-utils"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-45956"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-45956.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-45956"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2048925"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-45956"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45956"}]}],"references":[{"type":"WEB","url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/dnsmasq/OSV-2021-933.yaml"},{"type":"WEB","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35887"},{"type":"WEB","url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q1/016162.html"},{"type":"WEB","url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q1/016164.html"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45956"},{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-btvv-7nj2-6b2g-kqf4"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2021-45956"},{"type":"ADVISORY","url":"https://inthewild.io/vuln/CVE-2021-45956"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2021-45956"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2021-45956"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2021-45956"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-45956.json"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2048925"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-45956"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-45956","url":"https://www.cve.org/CVERecord?id=CVE-2021-45956","license":"CC-BY-4.0","modified_at":"2024-10-28T20:56:27.009Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-45956","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45956","relation":"self"},{"provider":"osv","source_id":"AZL-8963","url":"https://osv.dev/vulnerability/AZL-8963","license":"MIT","modified_at":"2026-04-21T04:34:56.577914Z","relation":"self"},{"provider":"osv","source_id":"DHI-btvv-7nj2-6b2g-kqf4","url":"https://osv.dev/vulnerability/DHI-btvv-7nj2-6b2g-kqf4","license":"Apache-2.0","modified_at":"2026-11-16T02:34:49.140377Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-45956","url":"https://access.redhat.com/security/cve/CVE-2021-45956","license":"CC-BY-4.0","modified_at":"2023-03-14T10:13:02Z","relation":"self"}]}
