Skip to content
OpenAdvisories
High · 7.8 Scanner template Public exploit CVE-2024-21633 EUVD-2024-19273

Arbitrary file write on Decoding

Published Jan 3, 2024 · Updated Jun 3, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

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.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

References