CVE-2024-12216: dmlc/gluon-cv · Improper Link Resolution Before File Access
Affects dmlc/gluon-cvSource CVE Database V5
Not known to be exploited · CVSS 7.1 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubdmlc/gluon-cvpkg:github/dmlc/gluon-cvOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-12216, organizations should implement strict validation and sanitization of tar.gz archives before extraction. This includes checking for path traversal sequences and symbolic links that could redirect extraction outside the intended directory. Employ extraction libraries or tools that enforce safe extraction policies, such as extracting only within a designated sandbox directory. Avoid processing tar.gz files from untrusted or unauthenticated sources, and if necessary, scan archives for malicious content prior to use. Monitor and restrict user permissions to limit the impact of arbitrary file writes. Since no official patches are currently available, consider contributing or requesting fixes from the dmlc/gluon-cv maintainers. Additionally, incorporate security controls in CI/CD pipelines to detect and block malicious archives. Regularly audit systems for unexpected file modifications and maintain backups to recover from potential overwrites.
Description
A vulnerability in the `ImageClassificationDataset.from_csv()` API of the `dmlc/gluon-cv` repository, version 0.10.0, allows for arbitrary file write. The function downloads and extracts `tar.gz` files from URLs without proper sanitization, making it susceptible to a TarSlip vulnerability. Attackers can exploit this by crafting malicious tar files that, when extracted, can overwrite files on the victim's system via path traversal or faked symlinks.