Datasets Path Traversal via Unsanitized file_name Metadata
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| huggingface | datasets | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Huggingface | Datasets |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-379c-qx7v-6h59 | Hugging Face Datasets folder-based builders allow path traversal through file_name metadata |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.550% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:huggingface:datasets:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:huggingface:datasets:*:*:*:*:*:python:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Huggingface
Huggingface datasets |
|
| Vendors & Products |
Huggingface
Huggingface datasets |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Datasets through 5.0.0, fixed in commit f989ef9, contains a path traversal vulnerability in folder-based dataset builders where the file_name metadata field is not properly validated before being joined to the dataset directory. Attackers can supply crafted file_name values with directory traversal sequences to read arbitrary local files, which are then embedded into output when save_to_disk or push_to_hub is called. | |
| Title | Datasets Path Traversal via Unsanitized file_name Metadata | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|