CVE-2023-40077
Published: 04 December 2023
Summary
CVE-2023-40077 is a high-severity Race Condition (CWE-362) vulnerability in Google Android. Its CVSS base score is 8.1 (High).
Operationally, ranked in the top 6.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2023-40077 is a use-after-free write vulnerability caused by a race condition in multiple functions within MetaDataBase.cpp of the Android frameworks/av media component. The flaw is tracked under CWE-362 and carries a CVSS 3.1 score of 8.1, reflecting network attackability with high complexity but no required privileges or user interaction.
An unauthenticated remote attacker can trigger the race condition to perform an arbitrary write, resulting in privilege escalation on the affected Android device. Exploitation requires no additional execution rights beyond network access to the vulnerable media-handling paths.
The December 2023 Android security bulletin and the referenced frameworks/av commit 58fd993a89a3a22fa5a4a1a4548125c6783ec80c address the issue through upstream patching; devices should be updated to the December 2023 or later monthly release that incorporates the fix. The associated EPSS score has remained flat at 0.1079 with no material post-disclosure increase.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-44684
Vulnerability details
In multiple functions of MetaDataBase.cpp, there is a possible UAF write due to a race condition. This could lead to remote escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Accurate timestamps from internal clocks enable detection of race conditions by providing reliable event ordering in audit logs.
Coordination of concurrent security activities reduces the probability that shared resources will be accessed simultaneously without proper synchronization.