CVE-2021-45952
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-45952 affects Dnsmasq version 2.86, involving a heap-based buffer overflow vulnerability in the dhcpreply function (called from dhcppacket and FuzzDhcp). This vulnerability is currently disputed, as the vendor has stated that this and related CVEs (CVE-2021-45951 through CVE-2021-45957) "do not represent real vulnerabilities" (Dnsmasq Discuss). The issue was initially discovered through OSS-Fuzz testing (OSS Fuzz).

Technical details

The vulnerability was assigned a CVSS v3.1 Base Score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue specifically involves a heap-based buffer overflow condition in the dhcpreply function, which is triggered through the dhcppacket call chain (NVD). The vulnerability is classified under CWE-787 (Out-of-bounds Write).

Impact

If exploited, this heap-based buffer overflow vulnerability could potentially allow attackers to cause memory corruption, leading to program crashes or possible code execution. However, given the disputed status of the vulnerability, the real-world impact may be limited (NVD).

Mitigation and workarounds

While initially reported as a security issue, the Dnsmasq project maintainer has submitted a request to MITRE to cancel this CVE along with related ones, stating they do not represent real vulnerabilities (Dnsmasq Discuss). Some security researchers have suggested that the reported issues might be related to incomplete initialization during fuzzing rather than actual security vulnerabilities (Dnsmasq Discuss).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management