4.6 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): Low (L)
- 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): 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): Low (L)
- 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)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse ignored package vscode-extensions.gleam.gleam
- @LeSuisse ignored reference https://o…
-
@LeSuisse
ignored
5 packages
- python314Packages.tree-sitter-grammars.tree-sitter-gleam
- python313Packages.tree-sitter-grammars.tree-sitter-gleam
- python312Packages.tree-sitter-grammars.tree-sitter-gleam
- vimPlugins.nvim-treesitter-parsers.gleam
- tree-sitter-grammars.tree-sitter-gleam
- @LeSuisse accepted
- @LeSuisse published on GitHub
Path Traversal in gleam docs build via documentation.pages Allows Arbitrary File Read and Write
Path traversal vulnerability in Gleam's handling of custom documentation pages allows arbitrary file read and file write outside the intended documentation output directory. The documentation.pages entries from gleam.toml are incorporated into filesystem paths without sufficient validation or confinement to the intended project and documentation output directories. The documentation.pages[].path field can be used to write generated documentation files outside the intended build/dev/docs/<package>/ output directory. The documentation.pages[].source field can be used to read files outside the project directory and embed their contents into generated documentation output. An attacker who can convince a victim to run gleam docs build on an untrusted project, or with untrusted gleam.toml content, can cause local files readable by the victim to be included in generated documentation artifacts, and can cause generated documentation files to be written outside the intended docs output directory. This issue affects Gleam from 1.16.0 until 1.17.0.
References
-
https://github.com/gleam-lang/gleam/security/advisories/GHSA-wjx8-7w8m-p4v7 relatedexploitvendor-advisory
Ignored references (1)
Affected products
- <1.17.0
- <1.17.0
- <v1.17.0-erlang
- <v1.17.0-erlang-alpine
- <v1.17.0-elixir
- <v1.17.0-elixir-alpine
- <v1.17.0-elixir-slim
- <v1.17.0-node-slim
- <v1.17.0-scratch
- <v1.17.0-node-alpine
- <81570611906b6b0039c948037094d09a68700f3a
- <v1.17.0-erlang-slim
- <v1.17.0-node
Matching in nixpkgs
Ignored packages (6)
pkgs.vscode-extensions.gleam.gleam
Support for the Gleam programming language
pkgs.tree-sitter-grammars.tree-sitter-gleam
None
pkgs.vimPlugins.nvim-treesitter-parsers.gleam
None
-
nixos-unstable 0.0.0+rev=0bb1b0a
- nixpkgs-unstable 0.0.0+rev=0bb1b0a
- nixos-unstable-small 0.0.0+rev=0bb1b0a
pkgs.python312Packages.tree-sitter-grammars.tree-sitter-gleam
Python bindings for tree-sitter-gleam
pkgs.python313Packages.tree-sitter-grammars.tree-sitter-gleam
Python bindings for tree-sitter-gleam
pkgs.python314Packages.tree-sitter-grammars.tree-sitter-gleam
Python bindings for tree-sitter-gleam