{"id":"UBUNTU-CVE-2024-21633","details":"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.","modified":"2026-11-24T14:55:48.926086340Z","published":"2024-01-03T17:15:00Z","upstream":["CVE-2024-21633"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-21633"},{"type":"REPORT","url":"https://github.com/iBotPeaches/Apktool/security/advisories/GHSA-2hqv-2xv4-5h5w"},{"type":"REPORT","url":"https://github.com/iBotPeaches/Apktool/commit/d348c43b24a9de350ff6e5bd610545a10c1fc712"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-21633"}],"affected":[{"package":{"name":"apktool","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/apktool?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2+dfsg-1","2.0.2+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.2+dfsg-2","binary_name":"apktool"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21633.json"}},{"package":{"name":"apktool","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/apktool?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.4+dfsg-1","2.3.0+dfsg-1","2.3.1+dfsg-1","2.3.4-1~18.04"],"ecosystem_specific":{"binaries":[{"binary_name":"apktool","binary_version":"2.3.4-1~18.04"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21633.json"}},{"package":{"name":"apktool","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/apktool?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"apktool","binary_version":"2.4.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21633.json"}},{"package":{"name":"apktool","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/apktool?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.0+dfsg.1-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"apktool","binary_version":"2.5.0+dfsg.1-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21633.json"}},{"package":{"name":"apktool","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/apktool?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0+dfsg-6","2.7.0+dfsg-7"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.0+dfsg-7","binary_name":"apktool"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21633.json"}},{"package":{"name":"apktool","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/apktool?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0+dfsg-7"],"ecosystem_specific":{"binaries":[{"binary_name":"apktool","binary_version":"2.7.0+dfsg-7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21633.json"}},{"package":{"name":"apktool","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/apktool?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0+dfsg-7.1ubuntu1","2.7.0+dfsg-7.2"],"ecosystem_specific":{"binaries":[{"binary_name":"apktool","binary_version":"2.7.0+dfsg-7.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21633.json"}},{"package":{"name":"apktool","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/apktool?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0+dfsg-7","2.7.0+dfsg-7.1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"apktool","binary_version":"2.7.0+dfsg-7.1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21633.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}