SecurityContext

CVE-2024-31339: StatsService.cpp - Use After Free

  • Cve: CVE-2024-31339
  • Name: StatsService.cpp - Use After Free
  • Description: In multiple functions of StatsService.cpp, there is a possible memory corruption due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
  • Impact: Local attackers can escalate privileges due to memory corruption, potentially leading to full system compromise.
  • Remediation: Update to the latest version where the use after free issue is fixed.
  • Vulnerability type: use_after_free
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Local attacker privileges required
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00116
  • Epss percentile: 0.01616
  • Assignee: [email protected]
  • Published at: 2024-07-09T21:15:14Z
  • Age in days: 868
  • Modified at: 2026-06-17T07:28:14Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-31339
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-416Use After Free

References

UrlSourceTags
https://source.android.com/security/bulletin/2024-07-01nvdPatch, Vendor Advisory
https://android.googlesource.com/platform/packages/modules/StatsD/+/795a0da721992432cae20fc9be21bcbce318bf5anvdMailing List, Patch

Products

ProductAffectedPlatform boundSourcesUrl
google:android= 14.0, = 13.0, = 12.1, = 12.0nonvd/v1/products/google/android

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 239
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports