CVE-2023-40100
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-40100 is a memory corruption vulnerability discovered in the discovery_thread function of Dns64Configuration.cpp within Android's DNS resolver component. The vulnerability was disclosed in the November 2023 Android Security Bulletin and affects Android versions 11.0 through 14.0. The issue stems from a use-after-free condition that could lead to local privilege escalation (Android Bulletin, NVD).

Technical details

The vulnerability exists in the DNS64 discovery thread implementation where the thread is detached from the binder requesting thread but continues to reference resources that don't belong to it. These resources can be destroyed during DNS resolver destruction, leading to a use-after-free condition. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

Successful exploitation of this vulnerability could allow for local privilege escalation with no additional execution privileges needed. An attacker could potentially install programs, view, change, or delete data, or create new accounts with full rights. User interaction is not required for exploitation (CIS Advisory).

Mitigation and workarounds

The vulnerability has been patched by implementing a fix that holds a strong pointer of Dns64Configuration in the DNS64 discovery thread, ensuring that the instance of Dns64Configuration remains until the DNS64 thread is force terminated. Users should apply the November 2023 security patch level or later to mitigate this vulnerability (Android Patch).

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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

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