Description
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.
Severity (CVSS)
| Base score | 6.2 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-129 — CWE-129: Improper Validation of Array Index
Affected products
| Vendor | Product | Versions |
|---|---|---|
| TomWright | dasel | >= 3.0.0, < 3.10.1 |
References
- https://github.com/TomWright/dasel/security/advisories/GHSA-m5j3-4634-c2vq (x_refsource_CONFIRM)
- https://github.com/TomWright/dasel/commit/5fc1172287df89860caf139b146007d7ed12178c (x_refsource_MISC)
- https://github.com/TomWright/dasel/releases/tag/v3.10.1 (x_refsource_MISC)
Generated from the official CVE List on 17 Jul 2026 07:01 UTC.