NIXPKGS-2026-2223
GitHub issue
published 1 week, 1 day ago
Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string
Permalink
CVE-2026-46377
6.2 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse accepted
- @LeSuisse published on GitHub
Dasel: Index-out-of-range panic in dasel selector lexer on trailing backslash in quoted string
Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.10.1, the escape sequence handler in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go increments past a trailing backslash in a quoted string such as "\ or '\ and then reads p.src[pos] without a bounds check, allowing attacker-controlled selector strings to trigger a Go index-out-of-range panic. This issue is fixed in version 3.10.1.
References
-
https://github.com/TomWright/dasel/security/advisories/GHSA-m5j3-4634-c2vq exploitx_refsource_CONFIRM
-
https://github.com/TomWright/dasel/releases/tag/v3.10.1 x_refsource_MISC
Affected products
dasel
- ==>= 3.0.0, < 3.10.1
Package maintainers
-
@0x4A6F Joachim Ernst <mail-maintainer@0x4A6F.dev>