CVEfocus › CVE database › CVE-2024-21633

CVE-2024-21633Arbitrary file write on Decoding

CVSS 7.8 HighEPSS 1.1% (higher than 66% of CVEs)Published 2024-01-03Updated 2025-06-03Assigner: GitHub_M

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.

CWE-22

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
1Fix pending
3Under investigation
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10apktoolFix pendingUBUNTU-CVE-2024-21633
Ubuntu 26.04apktoolUnder investigationUBUNTU-CVE-2024-21633
Ubuntu 25.10apktoolWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-21633
Ubuntu 24.04apktoolUnder investigationUBUNTU-CVE-2024-21633
Ubuntu 22.04apktoolUnder investigationUBUNTU-CVE-2024-21633
Ubuntu 20.04apktoolWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-21633
Ubuntu 18.04apktoolWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-21633
Ubuntu 16.04apktoolWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-21633
Debian 14apktoolFixed2.7.0+dfsg-7DEBIAN-CVE-2024-21633
Debian 13apktoolFixed2.7.0+dfsg-7DEBIAN-CVE-2024-21633
Debian 12apktoolFixed2.7.0+dfsg-6+deb12u1DEBIAN-CVE-2024-21633

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.