CVE-2024-31339
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-31339 is a memory corruption vulnerability discovered in the StatsService.cpp component of Android's StatsD module. The vulnerability was disclosed in July 2024 and affects multiple versions of Android including 12.0, 12.1, 13.0, and 14.0. This use-after-free vulnerability exists in multiple functions of StatsService.cpp (NVD, CVE).

Technical details

The vulnerability is classified as a Use After Free (CWE-416) issue that occurs in multiple functions within StatsService.cpp. It has received 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, indicating local access, low attack complexity, low privileges required, and no user interaction needed for exploitation (NVD).

Impact

The vulnerability could lead to local escalation of privilege with no additional execution privileges needed. The high CVSS score indicates potential severe impacts on confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

A patch has been released to address this vulnerability, as documented in the Android Security Bulletin for July 2024. The fix involves changes to the StatsService.cpp component (Android Patch, Android Bulletin).

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