Vulnerability · Published Jan 3, 2024 · Assigned by GitHub_M
CVE-2024-21633Arbitrary file write on Decoding
High 7.8
In plain English
A high-severity path traversal in Apktool from iBotPeaches. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | apktool | 2.7.0+dfsg-6+deb12u1 | DEBIAN-CVE-2024-21633 |
| Debian:13 | apktool | 2.7.0+dfsg-7 | DEBIAN-CVE-2024-21633 |
| Debian:14 | apktool | 2.7.0+dfsg-7 | DEBIAN-CVE-2024-21633 |
| Ubuntu:22.04:LTS | apktool | no fix listed | UBUNTU-CVE-2024-21633 |
| Ubuntu:24.04:LTS | apktool | no fix listed | UBUNTU-CVE-2024-21633 |
| Ubuntu:25.10 | apktool | no fix listed | UBUNTU-CVE-2024-21633 |
| Ubuntu:26.04:LTS | apktool | no fix listed | UBUNTU-CVE-2024-21633 |
| Ubuntu:26.10 | apktool | no fix listed | UBUNTU-CVE-2024-21633 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| iBotPeaches | Apktool | <= 2.9.1 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H