Description (CNA)
Datasets through 5.00, fixed in commit ad2d853, contains a symlink-following vulnerability in Extractor.extract() that allows local attackers to write arbitrary files by pre-planting symlinks at predictable output paths. Attackers can redirect archive extraction to arbitrary filesystem locations in shared-cache environments, enabling overwrite of sensitive files and potential privilege escalation or code execution.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| huggingface / datasets | affected 0 through 5.00; unaffected ad2d853ae2ce41d8068c23b44c2e29004312ccee |
CWE
CWE-61
References
- https://github.com/huggingface/datasets/issues/8296
- https://github.com/huggingface/datasets/pull/8303
- https://github.com/huggingface/datasets/commit/ad2d853ae2ce41d8068c23b44c2e29004312ccee
- https://www.vulncheck.com/advisories/datasets-symlink-following-arbitrary-file-write-via-extractor-extract
ADP enrichment
No English description supplied.
No references supplied.