apktool — security advisory
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.
- Products
- apktool
- Affected versions
- 2.0.2+dfsg-1, 2.0.2+dfsg-2, 2.2.4+dfsg-1, 2.3.0+dfsg-1, 2.3.1+dfsg-1, 2.3.4-1~18.04, 2.4.0-1, 2.5.0+dfsg.1-2build1, 2.7.0+dfsg-6, 2.7.0+dfsg-7, 2.7.0+dfsg-7.1ubuntu1, 2.7.0+dfsg-7.2
- Fixed versions
- Not specified
- CVEs
- CVE-2024-21633
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:06 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2024-21633
apktool
Fixed versions: Not specified
apktool
Fixed versions: Not specified
apktool
Fixed versions: Not specified
apktool
Fixed versions: Not specified
apktool
Fixed versions: Not specified
apktool
Fixed versions: Not specified
apktool
Fixed versions: Not specified
apktool
Fixed versions: Not specified
Complete source record
{
"id": "b264e8d37c59c2a164fbc8142b77a0000ce6af501627598dbd8e809d143cee39",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-21633",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-21633",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2024-21633",
"products": [
{
"name": {
"value": "apktool",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.2+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.0.2+dfsg-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "apktool",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.4+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.0+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.1+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.3.4-1~18.04",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "apktool",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.0-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "apktool",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.5.0+dfsg.1-2build1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "apktool",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.7.0+dfsg-6",
"evidence": "/affected/4/versions"
},
{
"value": "2.7.0+dfsg-7",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "apktool",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.7.0+dfsg-7",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "apktool",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.7.0+dfsg-7.1ubuntu1",
"evidence": "/affected/6/versions"
},
{
"value": "2.7.0+dfsg-7.2",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "apktool",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.7.0+dfsg-7",
"evidence": "/affected/7/versions"
},
{
"value": "2.7.0+dfsg-7.1ubuntu1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2024-21633",
"aliases": [
"UBUNTU-CVE-2024-21633"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.0.2+dfsg-1",
"2.0.2+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21633.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.0.2+dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.2.4+dfsg-1",
"2.3.0+dfsg-1",
"2.3.1+dfsg-1",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.3.4-1~18.04"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.4.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21633.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.4.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.5.0+dfsg.1-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.7.0+dfsg-6",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.7.0+dfsg-7"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.7.0+dfsg-7"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.7.0+dfsg-7.1ubuntu1",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.7.0+dfsg-7.2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.7.0+dfsg-7",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.7.0+dfsg-7.1ubuntu1"
}
]
}
}
],
"modified": "2026-10-17T12:56:29.696629792Z",
"provider": "osv",
"upstream": [
"CVE-2024-21633"
],
"references": [
"https://ubuntu.com/security/CVE-2024-21633",
"https://github.com/iBotPeaches/Apktool/security/advisories/GHSA-2hqv-2xv4-5h5w",
"https://github.com/iBotPeaches/Apktool/commit/d348c43b24a9de350ff6e5bd610545a10c1fc712",
"https://www.cve.org/CVERecord?id=CVE-2024-21633"
]
},
"related_cves": [
{
"value": "CVE-2024-21633",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355739,
"published_at": "2024-01-03T17:15:00+00:00"
}