Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| TomWright / dasel | affected >= 3.0.0, < 3.10.1 |
CWE
CWE-129
References
- https://github.com/TomWright/dasel/security/advisories/GHSA-m5j3-4634-c2vq
- https://github.com/TomWright/dasel/commit/5fc1172287df89860caf139b146007d7ed12178c
- https://github.com/TomWright/dasel/releases/tag/v3.10.1
ADP enrichment
No English description supplied.