6.9 MEDIUM
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): Active (A)
- Vulnerable System Impact Confidentiality (VC): High (H)
- Vulnerable System Impact Integrity (VI): None (N)
- Vulnerable System Impact Availability (VA): None (N)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Active (A)
- Modified Vulnerable System Impact Confidentiality (MVC): High (H)
- Modified Vulnerable System Impact Integrity (MVI): None (N)
- Modified Vulnerable System Impact Availability (MVA): None (N)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
Datasets Path Traversal via Unsanitized file_name Metadata
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.
References
-
-
Pull Request issue-tracking
-
Patch Commit patch
-
https://www.vulncheck.com/advisories/datasets-path-traversal-via-unsanitized-fi… third-party-advisory
Affected products
- =<5.0.0
- ==f989ef9b4cc6c0039a7a82458eebca49e2b58b4b
Matching in nixpkgs
pkgs.python313Packages.datasets
Open-access datasets and evaluation metrics for natural language processing
pkgs.python314Packages.datasets
Open-access datasets and evaluation metrics for natural language processing
pkgs.python313Packages.datasets_3
Open-access datasets and evaluation metrics for natural language processing
pkgs.python314Packages.datasets_3
Open-access datasets and evaluation metrics for natural language processing
pkgs.python313Packages.geodatasets
Spatial data examples
pkgs.python314Packages.geodatasets
Spatial data examples
pkgs.python313Packages.vega-datasets
Python package for offline access to vega datasets
pkgs.python314Packages.vega-datasets
Python package for offline access to vega datasets
pkgs.python313Packages.tensorflow-datasets
Library of datasets ready to use with TensorFlow
pkgs.python313Packages.home-assistant-datasets
Collection of datasets for evaluating AI Models in the context of Home Assistant
pkgs.python314Packages.home-assistant-datasets
Collection of datasets for evaluating AI Models in the context of Home Assistant
Package maintainers
-
@osbm Osman Bayram <osmanfbayram@gmail.com>
-
@malteneuss Malte Neuss
-
@autra Augustin Trancart <augustin.trancart@gmail.com>
-
@willcohen Will Cohen
-
@nialov Nikolas Ovaskainen <nikolasovaskainen@gmail.com>
-
@sikmir Nikolay Korotkiy <sikmir@disroot.org>
-
@nh2 Niklas Hambüchen <mail@nh2.me>
-
@imincik Ivan Mincik <ivan.mincik@gmail.com>
-
@l0b0 Victor Engmark <victor@engmark.name>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@ndl Alexander Tsvyashchenko <ndl@endl.ch>