CVE-2021-45957
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-45957 affects Dnsmasq version 2.86, involving a heap-based buffer overflow vulnerability in the answerrequest function (called from FuzzAnswerTheRequest and fuzzrfc1035.c). 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 Mailing List).

Technical details

The vulnerability is classified as a heap-based buffer overflow with a CVSS v3.1 Base Score of 9.8 (CRITICAL) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue was identified in the answer_request function when processing specific DNS requests. The vulnerability is tracked under CWE-787 (Out-of-bounds Write) (NVD).

Impact

If exploited, this heap-based buffer overflow vulnerability could potentially allow remote attackers to cause denial of service conditions or possibly execute arbitrary code on affected systems. However, the practical impact is disputed by the vendor (NVD).

Mitigation and workarounds

While no specific patches were released due to the disputed nature of the vulnerability, the vendor has submitted a request to MITRE to cancel this CVE along with related ones (Dnsmasq Mailing List).

Community reactions

The security community has shown mixed reactions to this vulnerability. While initially reported as critical, subsequent discussion on the Dnsmasq mailing list indicates that the vendor believes these issues are not real vulnerabilities. A Red Hat engineer investigated the reports and suggested that many of the failures might be invalid due to incorrect fuzzing implementation (Dnsmasq Mailing List).

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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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