CVE-2024-32896 — soong
CVE-2024-32896 is a CWE-670 vulnerability in platform/build/soong. It is in CISA's Known Exploited Vulnerabilities catalog (added 2024-06-13) — treat it as actively exploited and patch now. A fix is available for platform/build/soong — see the affected versions and patch details below.
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2024-06-13. Federal agencies were required to remediate by 2024-07-04.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2024-32896.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
platform/build/soong📦platform/frameworks/base📦platform/hardware/interfaces📦platform/system/sepolicy📦platform/frameworks/base📦platform/system/sepolicy📦platform/frameworks/base📦platform/system/sepolicy+4 moreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Android packages — download data is not available via public APIs for these ecosystems.
Description
In rebootRecoveryWithCommand of RecoverySystemService.java, there is a possible way to bypass a factory reset due to a logic error in the code. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦Android | platform/build/soong | ≥ 15-next:0&&< 15-next:2024-09-01 | 15-next:2024-09-01 |
| 📦Android | platform/frameworks/base | ≥ 15-next:0&&< 15-next:2024-09-01 | 15-next:2024-09-01 |
| 📦Android | platform/hardware/interfaces | ≥ 15-next:0&&< 15-next:2024-09-01 | 15-next:2024-09-01 |
| 📦Android | platform/system/sepolicy | ≥ 15-next:0&&< 15-next:2024-09-01 | 15-next:2024-09-01 |
| 📦Android | platform/frameworks/base | ≥ 12:0&&< 12:2024-09-01 | 12:2024-09-01 |
| 📦Android | platform/system/sepolicy | ≥ 12:0&&< 12:2024-09-01 | 12:2024-09-01 |
Affected Products
androidgoogleResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for platform/build/soong, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update platform/build/soong to 15-next:2024-09-01 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-32896 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2024-32896 in your dependencies?
Find it across Android, including transitive dependencies.