8.8 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
Conda: Entry-point path traversal in noarch:python install (arbitrary file write) — canonical Python implementation
Conda is a system-level binary package and environment manager that runs on major operating systems and platforms. Prior to 26.5.2, parse_entry_point_def in conda/common/path/python.py accepted an unvalidated entry-point command from a noarch:python package's info/link.json metadata. CreatePythonEntryPointAction in conda/core/path_actions.py interpolated that command into target_short_path, and PrefixPathAction.target_full_path joined it to the installation prefix without verifying that the result remained under the intended bin or Scripts directory. create_python_entry_point in conda/gateways/disk/create.py then wrote an executable wrapper to the resulting path. A malicious package could use path separators, traversal segments, or an absolute command path to write outside the prefix or overwrite another in-prefix entry point during default install and environment transactions. Out-of-prefix writes require the target parent directory to exist, while an overwritten entry point can execute attacker-controlled Python when later invoked with the installing user's privileges. This issue is fixed in version 26.5.2.
References
-
-
https://github.com/conda/conda/pull/16168 x_refsource_MISC
-
https://github.com/conda/conda/releases/tag/26.5.2 x_refsource_MISC
Affected products
- ==< 26.5.2
Matching in nixpkgs
pkgs.conda
Package manager for Python
pkgs.poetry2conda
Script to convert a Python project declared on a pyproject.toml to a conda environment
pkgs.python313Packages.conda
OS-agnostic, system-level binary package manager
pkgs.python314Packages.conda
OS-agnostic, system-level binary package manager
pkgs.python313Packages.conda-inject
Helper functions for injecting a conda environment into the current python environment
pkgs.python314Packages.conda-inject
Helper functions for injecting a conda environment into the current python environment
pkgs.python313Packages.condaUnpackHook
None
pkgs.python314Packages.condaUnpackHook
None
pkgs.python313Packages.condaInstallHook
None
pkgs.python314Packages.condaInstallHook
None
pkgs.python313Packages.conda-libmamba-solver
Libmamba based solver for conda
pkgs.python314Packages.conda-libmamba-solver
Libmamba based solver for conda
pkgs.python313Packages.conda-package-handling
Create and extract conda packages of various formats
pkgs.python314Packages.conda-package-handling
Create and extract conda packages of various formats
pkgs.python313Packages.conda-package-streaming
Efficient library to read from new and old format .conda and .tar.bz2 conda packages
pkgs.python314Packages.conda-package-streaming
Efficient library to read from new and old format .conda and .tar.bz2 conda packages
pkgs.gnomeExtensions.no-overview-on-secondary-monitors
No Overview on Secondary Monitors
-
nixos-unstable -
- nixos-unstable-small 1
Package maintainers
-
@jluttine Jaakko Luttinen <jaakko.luttinen@iki.fi>
-
@honnip Jung seungwoo <me@honnip.page>
-
@cpcloud Phillip Cloud
-
@EricTheMagician Eric Yen <eric@ericyen.com>
-
@GaetanLepage Gaetan Lepage <gaetan@glepage.com>