Nixpkgs security tracker

Login with GitHub

Suggestions search

With package: nvmetcfg

Found 2 matching suggestions

View:
Compact
Detailed
Permalink CVE-2026-15921
2.1 LOW
  • CVSS version (CVSS): 4.0
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Attack Requirement (AT): Present (P)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Active (A)
  • Vulnerable System Impact Confidentiality (VC): None (N)
  • Vulnerable System Impact Integrity (VI): Low (L)
  • 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): Present (P)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Active (A)
  • Modified Vulnerable System Impact Confidentiality (MVC): None (N)
  • Modified Vulnerable System Impact Integrity (MVI): Low (L)
  • 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)
created 6 days, 5 hours ago Activity log
  • Created suggestion
nvm path traversal via a malicious mirror's LTS codename writes outside the alias directory

Node Version Manager (nvm) is a POSIX-compliant shell function for managing multiple node.js versions. In versions 0.32.1 through 0.40.5, `nvm ls-remote` (and other commands that refresh remote LTS aliases, such as `nvm install --lts`) parse the node.js mirror's `index.tab` and use each release's LTS codename field as an alias filename without validating it. A malicious, compromised, or man-in-the-middled mirror can return an LTS codename containing path-traversal sequences such as `../../../.bashrc`, causing nvm to write the associated version string to a path outside `$NVM_DIR/alias`. With the default layout (`$NVM_DIR` is `~/.nvm`), this can create or overwrite files in the user's home directory, including shell startup files, which can lead to code execution in a later shell session. Exploitation requires the victim to use a hostile mirror -- via a compromised mirror or CDN, a network man-in-the-middle, or a maliciously configured `NVM_NODEJS_ORG_MIRROR`/`NVM_IOJS_ORG_MIRROR` -- and to run an affected command. Version 0.40.6 validates remote LTS codenames as safe alias filenames and rejects `..` path components when writing alias files.

References

Affected products

nvm
  • <0.40.6

Matching in nixpkgs

pkgs.convmv

Converts filenames from one encoding to another

  • nixos-unstable 2.06
    • nixpkgs-unstable 2.06
    • nixos-unstable-small 2.06
  • nixos-26.05 2.06
    • nixos-26.05-small 2.06
    • nixpkgs-26.05-darwin 2.06

pkgs.krunvm

CLI-based utility for creating microVMs from OCI images

pkgs.nvme-rs

Lightweight tool for monitoring NVMe drive health with email alerts

pkgs.nvme-cli

NVM-Express user space tooling for Linux

  • nixos-unstable 2.16
    • nixpkgs-unstable 2.16
    • nixos-unstable-small 2.16
  • nixos-26.05 2.16
    • nixos-26.05-small 2.16
    • nixpkgs-26.05-darwin 2.16

pkgs.nvmetcfg

NVMe-oF Target Configuration Utility for Linux

pkgs.nvmet-cli

NVMe target CLI

  • nixos-unstable 0.7
    • nixpkgs-unstable 0.7
    • nixos-unstable-small 0.7
  • nixos-26.05 0.7
    • nixos-26.05-small 0.7
    • nixpkgs-26.05-darwin 0.7

pkgs.crc64fast-nvme

SIMD accelerated carryless-multiplication CRC-64/NVME checksum computation (based on Intel's PCLMULQDQ paper)

created 5 months, 3 weeks ago Activity log
  • Created suggestion
Command Injection in nvm via NVM_AUTH_HEADER in wget code path

A command injection vulnerability exists in nvm (Node Version Manager) versions 0.40.3 and below. The nvm_download() function uses eval to execute wget commands, and the NVM_AUTH_HEADER environment variable was not sanitized in the wget code path (though it was sanitized in the curl code path). An attacker who can set environment variables in a victim's shell environment (e.g., via malicious CI/CD configurations, compromised dotfiles, or Docker images) can inject arbitrary shell commands that execute when the victim runs nvm commands that trigger downloads, such as 'nvm install' or 'nvm ls-remote'.

References

Affected products

nvm
  • ==0.40.4
  • =<0.40.3

Matching in nixpkgs

pkgs.convmv

Converts filenames from one encoding to another

  • nixos-unstable 2.06
    • nixpkgs-unstable 2.06
    • nixos-unstable-small 2.06

pkgs.krunvm

CLI-based utility for creating microVMs from OCI images

pkgs.libnvme

C Library for NVM Express on Linux

  • nixos-unstable 1.15
    • nixpkgs-unstable 1.15
    • nixos-unstable-small 1.15

pkgs.nvme-rs

Lightweight tool for monitoring NVMe drive health with email alerts

pkgs.nvme-cli

NVM-Express user space tooling for Linux

  • nixos-unstable 2.15
    • nixpkgs-unstable 2.15
    • nixos-unstable-small 2.15

pkgs.nvmetcfg

NVMe-oF Target Configuration Utility for Linux

pkgs.nvmet-cli

NVMe target CLI

  • nixos-unstable 0.7
    • nixpkgs-unstable 0.7
    • nixos-unstable-small 0.7

pkgs.crc64fast-nvme

SIMD accelerated carryless-multiplication CRC-64/NVME checksum computation (based on Intel's PCLMULQDQ paper)