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.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)1.3%top 28.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Nuclei, Public PoC

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

EcosystemPackageFixed inAdvisory
Debian:12apktool2.7.0+dfsg-6+deb12u1DEBIAN-CVE-2024-21633
Debian:13apktool2.7.0+dfsg-7DEBIAN-CVE-2024-21633
Debian:14apktool2.7.0+dfsg-7DEBIAN-CVE-2024-21633
Ubuntu:22.04:LTSapktoolno fix listedUBUNTU-CVE-2024-21633
Ubuntu:24.04:LTSapktoolno fix listedUBUNTU-CVE-2024-21633
Ubuntu:25.10apktoolno fix listedUBUNTU-CVE-2024-21633
Ubuntu:26.04:LTSapktoolno fix listedUBUNTU-CVE-2024-21633
Ubuntu:26.10apktoolno fix listedUBUNTU-CVE-2024-21633

Affected products (as reported)

VendorProductVersions
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

References