CVE-2024-21633
Arbitrary file write on Decoding
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.8
Arbitrary file write on Decoding
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.
- Record
CVE-2024-21633- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2024-19273
7.8
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.
- Record
EUVD-2024-19273- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
NVD
7.8
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.
- Record
CVE-2024-21633- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV
7.8
Arbitrary file write on Decoding
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.
- Record
CVE-2024-21633- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-21633
7.8
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.
- Record
DEBIAN-CVE-2024-21633- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-21633
7.8
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.
- Record
UBUNTU-CVE-2024-21633- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
apktoolDebian:12 |
before 2.7.0+dfsg-6+deb12u1, plus listed versions 2.7.0+dfsg-6 |
2.7.0+dfsg-6+deb12u1 |
apktoolDebian:13 |
before 2.7.0+dfsg-7 | 2.7.0+dfsg-7 |
apktoolDebian:14 |
before 2.7.0+dfsg-7 | 2.7.0+dfsg-7 |
apktoolUbuntu:16.04:LTS |
All versions, plus listed versions 2.0.2+dfsg-12.0.2+dfsg-2 |
None known |
apktoolUbuntu:18.04:LTS |
All versions, plus listed versions 2.2.4+dfsg-12.3.0+dfsg-12.3.1+dfsg-12.3.4-1~18.04 |
None known |
apktoolUbuntu:20.04:LTS |
All versions, plus listed versions 2.4.0-1 |
None known |
apktoolUbuntu:22.04:LTS |
All versions, plus listed versions 2.5.0+dfsg.1-2build1 |
None known |
apktoolUbuntu:24.04:LTS |
All versions, plus listed versions 2.7.0+dfsg-62.7.0+dfsg-7 |
None known |
apktoolUbuntu:25.10 |
All versions, plus listed versions 2.7.0+dfsg-7 |
None known |
apktoolUbuntu:26.10 |
All versions, plus listed versions 2.7.0+dfsg-7.1ubuntu12.7.0+dfsg-7.2 |
None known |
apktoolUbuntu:26.04:LTS |
All versions, plus listed versions 2.7.0+dfsg-72.7.0+dfsg-7.1ubuntu1 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Nuclei | MobSF - Path Traversal | |
| PoC in GitHub | 0x33c0unt/CVE-2024-21633 | 2024-01-07 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-21633 is a high vulnerability (CVSS 7.8) in Apktool, published January 3, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.33%, the 71st percentile. Fixed in apktool 2.7.0+dfsg-6+deb12u1.
References
github.com/iBotPeaches/Apktool/security/advisories/GHSA-2hqv-2xv4-5h5w
github.com/iBotPeaches/Apktool/commit/d348c43b24a9de350ff6e5bd610545a10c1fc712
github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21633.json
nvd.nist.gov/vuln/detail/CVE-2024-21633
security-tracker.debian.org/tracker/CVE-2024-21633
ubuntu.com/security/CVE-2024-21633
cve.org/CVERecord?id=CVE-2024-21633