6.7 MEDIUM
- 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): 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): 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): 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
nvm alias resolution follows `..` and discloses files outside $NVM_DIR/alias
nvm resolves a requested version or alias by treating it as a filename under $NVM_DIR/alias. Before 0.40.8, nvm_alias() concatenated the requested name onto that directory and read the result with no containment check, so a name containing a `..` component escaped the alias directory; under the default layout an alias such as `../../.npmrc` resolves to a file in the user's home directory. nvm_print_alias_file() then emits every non-comment, non-empty line of whatever was opened. A version string taken from an untrusted .nvmrc reaches this path, so a developer who runs `nvm use`, `nvm install`, or `nvm which` inside an attacker-supplied repository discloses the first non-comment line of an arbitrary file readable by that user, in the resulting "is not yet installed" error message. A user-supplied `nvm alias <traversing-name>` discloses every non-comment line of the target file. There is no integrity or availability impact, and no command execution on this path.
References
-
GHSA-8grh-q73j-ffrc vendor-advisory
Affected products
- ==0.40.8
- =<0.40.7
Matching in nixpkgs
pkgs.convmv
Converts filenames from one encoding to another
pkgs.krunvm
CLI-based utility for creating microVMs from OCI images
pkgs.libnvme
C Library for NVM Express on Linux
pkgs.nvme-rs
Lightweight tool for monitoring NVMe drive health with email alerts
pkgs.openvmm
Modular, cross-platform Virtual Machine Monitor (VMM), written in Rust
-
nixos-unstable -
- nixos-unstable-small 0-unstable-2025-03-13
-
nixos-26.05 -
- nixos-26.05-small 0-unstable-2025-03-13
pkgs.nvme-cli
NVM-Express user space tooling for Linux
pkgs.nvmetcfg
NVMe-oF Target Configuration Utility for Linux
pkgs.nvmet-cli
NVMe target CLI
pkgs.crc64fast-nvme
SIMD accelerated carryless-multiplication CRC-64/NVME checksum computation (based on Intel's PCLMULQDQ paper)
pkgs.fishPlugins.nvm
Node.js version manager you'll adore, crafted just for Fish
pkgs.python313Packages.pynvml
Unofficial Python bindings for the NVIDIA Management Library
pkgs.python314Packages.pynvml
Unofficial Python bindings for the NVIDIA Management Library
pkgs.python313Packages.py3nvml
Python 3 Bindings for the NVIDIA Management Library
pkgs.python314Packages.py3nvml
Python 3 Bindings for the NVIDIA Management Library
pkgs.cudaPackages.cuda_nvml_dev
C-based programmatic interface for monitoring and managing various states within Data Center GPUs
Package maintainers
-
@al3xtjames Alex James <nix@alextjam.es>
-
@powwu powwu <hello@powwu.sh>
-
@SomeoneSerge Else Someone <else+nixpkgs@someonex.net>
-
@samuela Samuel Ainsworth <skainsworth@gmail.com>
-
@ConnorBaker Connor Baker <ConnorBaker01@gmail.com>
-
@ethancedwards8 Ethan Carter Edwards <ethan@ethancedwards.com>
-
@YorikSar Yuriy Taraday <yorik.sar@gmail.com>
-
@GaetanLepage Gaetan Lepage <gaetan@glepage.com>
-
@prusnak Pavol Rusnak <pavol@rusnak.io>
-
@pta2002 Pedro Alves <pta2002@pta2002.com>
-
@NickCao Nick Cao <nickcao@nichi.co>
-
@vifino Adrian Pistol <vifino@tty.sh>
-
@Mic92 Jörg Thalheim <joerg@thalheim.io>
-
@liberodark liberodark <liberodark@gmail.com>
-
@Hoverbear Ana Hobden <operator+nix@hoverbear.org>
-
@astro Astro <astro@spaceboyz.net>
-
@happysalada Raphael Megzari <raphael@megzari.com>
-
@bcdarwin Ben Darwin <bcdarwin@gmail.com>