{"id":"CVE-2024-12216","aliases":["CVE-2024-12216","GHSA-m724-hqmc-ggpx","PYSEC-2026-1406"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary File Write via TarSlip in dmlc/gluon-cv","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-03-20T10:09:30.436Z","modified":"2026-07-07T17:57:24.443Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-20","CWE-22","CWE-59"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"dmlc","product":"dmlc/gluon-cv","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.10.0"}],"ecosystem":"PyPI","package":"gluoncv","purl":"pkg:pypi/gluoncv","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.10.0"}],"ecosystem":"PyPI","package":"gluoncv","purl":"pkg:pypi/gluoncv","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/46081fdc-2951-4deb-a2c9-2627007bdce0","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12216","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/dmlc/gluon-cv","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/dmlc/gluon-cv/blob/3862e2db33ab650eff7c7c5c5891e805207027b1/gluoncv/utils/filesystem.py#L223-L229","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/gluoncv","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-m724-hqmc-ggpx","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-20T17:50:50.236Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-12216","url":"https://www.cve.org/CVERecord?id=CVE-2024-12216","licence":"CVE Terms of Use","modified":"2025-10-15T12:50:16.527Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m724-hqmc-ggpx","url":"https://github.com/advisories/GHSA-m724-hqmc-ggpx","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:24.443Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-12216","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12216","licence":"Public domain","modified":"2026-06-17T06:59:16.027Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1406","url":"https://osv.dev/vulnerability/PYSEC-2026-1406","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:37.731Z"}],"updatedAt":"2026-11-25T22:58:52.356Z","epss":{"score":0.00312,"percentile":0.26017,"date":"2026-12-01T12:00:22.000Z"}}