Description
Apktool is a tool for reverse engineering Android APK files. In versions 2.9.1 and prior, Apktool infers resource files' output path according to their resource names which can be manipulated by attacker to place files at desired location on the system Apktool runs on. Affected environments are those in which an attacker may write/overwrite any file that user has write access, and either user name is known or cwd is under user folder. Commit d348c43b24a9de350ff6e5bd610545a10c1fc712 contains a patch for this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| iBotPeaches | Apktool | <= 2.9.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | apktool | 2.7.0+dfsg-7 | — |
| Debian 13 | apktool | 2.7.0+dfsg-7 | — |
| Debian 12 | apktool | 2.7.0+dfsg-6+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | apktool | No fix yet | — |
| Ubuntu 26.04 LTS | apktool | No fix yet | — |
| Ubuntu 25.10 | apktool | No fix yet | — |
| Ubuntu 24.04 LTS | apktool | No fix yet | — |
| Ubuntu 22.04 LTS | apktool | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | apktool | No fix yet | — |
| Ubuntu 18.04 LTS | apktool | No fix yet | — |
| Ubuntu 16.04 LTS | apktool | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
0x33c0unt/CVE-2024-21633 ★ 79 · Jan 7, 2024
MobSF Remote code execution (via CVE-2024-21633)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- MobSF - Path Traversal http/cves/2024/CVE-2024-21633.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.