CVE-2024-12216: GluonCV Arbitrary File Write via TarSlip
A vulnerability in the ImageClassificationDataset.fromcsv() 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.
Published Mar 20, 2025 · Updated Oct 15, 2025
Affected packages
gluoncv
- Ecosystem
- PyPI
- Affected
- <= 0.10.0
- Fixed in
- No patched version yet
- Check
pip show gluoncv
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
