TarSlip Vulnerability in deepjavalibrary/djl
A TarSlip vulnerability exists in the deepjavalibrary/djl, affecting version 0.26.0 and fixed in version 0.27.0. This vulnerability allows an attacker to manipulate file paths within tar archives to overwrite arbitrary files on the target system. Exploitation of this vulnerability could lead to remote code execution, privilege escalation, data theft or manipulation, and denial of service. The vulnerability is due to improper validation of file paths during the extraction of tar files, as demonstrated in multiple occurrences within the library's codebase, including but not limited to the files_util.py and extract_imagenet.py scripts.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-2914
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 09:04 UTC · Revision 1
Source evidence
TarSlip Vulnerability in deepjavalibrary/djl
core-osv · Original sourcePublished 6 Jun 2024, 17:55 UTC
A TarSlip vulnerability exists in the deepjavalibrary/djl, affecting version 0.26.0 and fixed in version 0.27.0. This vulnerability allows an attacker to manipulate file paths within tar archives to overwrite arbitrary files on the target system. Exploitation of this vulnerability could lead to remote code execution, privilege escalation, data theft or manipulation, and denial of service. The vulnerability is due to improper validation of file paths during the extraction of tar files, as demonstrated in multiple occurrences within the library's codebase, including but not limited to the files_util.py and extract_imagenet.py scripts.
osv:CVE-2024-2914
Complete source record
{
"id": "3d15e799856a5539111c5ffdb23cd72351de3921bece76856c0f0554fbbfb8d7",
"url": "https://osv.dev/vulnerability/CVE-2024-2914",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "TarSlip Vulnerability in deepjavalibrary/djl",
"summary": "A TarSlip vulnerability exists in the deepjavalibrary/djl, affecting version 0.26.0 and fixed in version 0.27.0. This vulnerability allows an attacker to manipulate file paths within tar archives to overwrite arbitrary files on the target system. Exploitation of this vulnerability could lead to remote code execution, privilege escalation, data theft or manipulation, and denial of service. The vulnerability is due to improper validation of file paths during the extraction of tar files, as demonstrated in multiple occurrences within the library's codebase, including but not limited to the files_util.py and extract_imagenet.py scripts.",
"evidence": "osv:CVE-2024-2914",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-2914",
"aliases": [
"CVE-2024-2914"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/deepjavalibrary/djl",
"type": "GIT",
"events": [
{
"introduced": "306e0c77f862dd47bc5f20d78fba41b70731e18e"
},
{
"fixed": "5235be508cec9e8cb6f496a4ed2fa40e4f62c370"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:djl:deep_java_library:0.26.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.26.0"
},
{
"last_affected": "0.26.0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "5235be508cec9e8cb6f496a4ed2fa40e4f62c370"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.26.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2914.json"
}
}
],
"modified": "2026-10-28T02:30:34.224130942Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/b064bd2f-bf6e-4fc0-898e-7d02a9b97e24",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2914.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-2914",
"https://github.com/deepjavalibrary/djl/commit/5235be508cec9e8cb6f496a4ed2fa40e4f62c370"
],
"provider_metadata": {
"cwe_ids": [
"CWE-29"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2914.json"
}
},
"related_cves": [
{
"value": "CVE-2024-2914",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 501307,
"published_at": "2024-06-06T17:55:55.145+00:00"
}