CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-12216: Arbitrary File Write via TarSlip in dmlc/gluon-cv

7.1 CVSS

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.

Classification

CVE ID: CVE-2024-12216

CVSS Base Severity: HIGH

CVSS Base Score: 7.1

CVSS Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Problem Types

CWE-20 Improper Input Validation

Affected Products

Vendor: dmlc

Product: dmlc/gluon-cv

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.03% (probability of being exploited)

EPSS Percentile: 7.18% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-12216
https://huntr.com/bounties/46081fdc-2951-4deb-a2c9-2627007bdce0

Timeline