CVE-2024-12216

Arbitrary File Write via TarSlip in dmlc/gluon-cv

State
Published
Severity
7.1 High
Published
Mar 20, 2025
Updated
Oct 15, 2025
Reserved
Dec 4, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.07.1 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H@huntr_ai

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access

Affected Products

ProductVersions
dmlc/gluon-cvdmlc
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.