CVE-2024-12216
JSON

7.1high

Arbitrary File Write via TarSlip in dmlc/gluon-cv

Severity
7.1high CVSS:3.0 by @huntr_ai
Exploit likelihood
0.31% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai
Also known as
GHSA-m724-hqmc-ggpxPYSEC-2026-1406

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.

Affected

Product or packageVersionsReported by
dmlc dmlc/gluon-cvfrom unspecified up to latestCVE List
gluoncv (PyPI)up to 0.10.0GitHub Advisory Database, PyPA Advisory Database

All scores

@huntr_ai7.1high CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
GitHub7.1high CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
PyPA Advisory Database7.1high CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Classification

CWE-20CWE-22CWE-59

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad en la API `ImageClassificationDataset.from_csv()` del repositorio `dmlc/gluon-cv`, versión 0.10.0, permite la escritura arbitraria de archivos. La función descarga y extrae archivos `tar.gz` de URLs sin la debida depuración, lo que la hace susceptible a una vulnerabilidad de TarSlip. Los atacantes pueden explotar esto manipulando archivos tar maliciosos que, al ser extraídos, pueden sobrescribir archivos en el sistema de la víctima mediante path traversal o enlaces simbólicos falsos.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-12216 changed 2025-10-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-m724-hqmc-ggpx changed 2026-07-07CC-BY-4.0
NVDCVE-2024-12216 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1406 changed 2026-07-07CC-BY-4.0