dmlc/gluon-cv · Security
GluonCV Arbitrary File Write via TarSlip
- GHSA ID
- GHSA-m724-hqmc-ggpx
- CVE ID
- CVE-2024-12216
- Severity
- high
- Published
- Updated
- CVSS
- 7.1 · CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- CVSS v3
- 7.1 · CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
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.
CWEs
- CWE-20 · Improper Input Validation
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-59 · Improper Link Resolution Before File Access ('Link Following')