5.5 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): None (N)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
Deno: BYONM module resolution allows `package.json` main path traversal to bypass `--allow-read` restrictions
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.7.12, when Deno was run in BYONM mode (nodeModulesDir: "manual"), the module resolver did not validate that a package's resolved entrypoint stayed within its node_modules/<pkg>/ directory. A malicious package.json whose main field contained .. segments was able to resolve to an arbitrary path on disk, and the resolver then read that file without consulting the --allow-read allowlist. This let a require("evil-pkg") call return the contents of a file that a direct Deno.readTextFileSync(...) call would have been blocked from reading. This vulnerability is fixed in 2.7.12.
References
Affected products
- ==< 2.7.12
Matching in nixpkgs
pkgs.deno
Secure runtime for JavaScript and TypeScript
pkgs.speech-denoiser
Speech denoise lv2 plugin based on RNNoise library
-
nixos-unstable 0-unstable-2018-10-08
- nixpkgs-unstable 0-unstable-2018-10-08
- nixos-unstable-small 0-unstable-2018-10-08
-
nixos-26.05 0-unstable-2018-10-08
- nixos-26.05-small 0-unstable-2018-10-08
- nixpkgs-26.05-darwin 0-unstable-2018-10-08
pkgs.openimagedenoise
High-Performance Denoising Library for Ray Tracing
pkgs.terraform-providers.deno
None
pkgs.python312Packages.denonavr
None
pkgs.python313Packages.denonavr
Automation Library for Denon AVR receivers
pkgs.python314Packages.denonavr
Automation Library for Denon AVR receivers
pkgs.python313Packages.denon-rs232
Async library to control Denon receivers over RS232
pkgs.python314Packages.denon-rs232
Async library to control Denon receivers over RS232
pkgs.haskellPackages.pandoc-sidenote
Convert Pandoc Markdown-style footnotes into sidenotes
pkgs.terraform-providers.denoland_deno
None
pkgs.gnomeExtensions.denon-avr-controler
Denon AVR controler
pkgs.python312Packages.bnunicodenormalizer
None
pkgs.python313Packages.bnunicodenormalizer
Bangla Unicode Normalization Toolkit
pkgs.python314Packages.bnunicodenormalizer
Bangla Unicode Normalization Toolkit
pkgs.vscode-extensions.denoland.vscode-deno
Language server client for Deno
pkgs.home-assistant-component-tests.denonavr
None
Package maintainers
-
@06kellyjac Jack <hello+nixpkgs@j-k.io>
-
@ofalvai Olivér Falvai <ofalvai@gmail.com>
-
@Mynacol Mynacol
-
@honnip Jung seungwoo <me@honnip.page>
-
@LeshaInc Alexey Nikashkin <leshainc@fomalhaut.me>
-
@Mic92 Jörg Thalheim <joerg@thalheim.io>
-
@magnetophon Bart Brouns <bart@magnetophon.nl>
-
@ratsclub Victor Freire <victor@freire.dev.br>
-
@JamieMagee Jamie Magee <jamie.magee@gmail.com>