8.4 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Local (L)
- 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): High (H)
- Vulnerable System Impact Availability (VA): High (H)
- 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): Local (L)
- 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): High (H)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- 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)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
6 packages
- python313Packages.pdm-pep517
- python314Packages.pdm-pep517
- python313Packages.pdm-backend
- python314Packages.pdm-backend
- python313Packages.pdm-build-locked
- python314Packages.pdm-build-locked
- @LeSuisse accepted
- @LeSuisse published on GitHub
pdm: Path traversal in wheel installation via overridden write_to_fs
pdm is a Python package and dependency manager supporting the latest PEP standards. Versions prior to 2.27.0 are vulnerable to path traversal through write_to_fs. InstallDestination.write_to_fs() in src/pdm/installers/installers.py overrides the base class to add symlink/hardlink support but replaces the safe _path_with_destdir() (which validates via Path.resolve() + is_relative_to()) with a bare os.path.join() that performs no path validation. A malicious wheel with traversal entries can write arbitrary files. This issue has been fixed in version 2.27.0.
References
-
https://github.com/pdm-project/pdm/security/advisories/GHSA-78v8-vpjp-cjqh x_refsource_CONFIRM
-
https://github.com/pdm-project/pdm/releases/tag/2.27.0 x_refsource_MISC
Affected products
- ==< 2.27.0
Matching in nixpkgs
Ignored packages (6)
pkgs.python313Packages.pdm-pep517
Yet another PEP 517 backend
pkgs.python314Packages.pdm-pep517
Yet another PEP 517 backend
pkgs.python313Packages.pdm-backend
Yet another PEP 517 backend
pkgs.python314Packages.pdm-backend
Yet another PEP 517 backend
pkgs.python313Packages.pdm-build-locked
Pdm-build-locked is a pdm plugin to publish locked dependencies as optional-dependencies
Package maintainers
-
@natsukium Tomoya Otabi <nixpkgs@natsukium.com>
-
@misilelab misilelab <misileminecord@gmail.com>
-
@cpcloud Phillip Cloud