Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| TomWright | dasel | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Tomwright | Dasel |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-65gg-g7rw-6cpc | Dasel: Selector lexer panics on trailing whitespace in `parseCurRune` |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.192% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Tomwright
Tomwright dasel |
|
| Vendors & Products |
Tomwright
Tomwright dasel |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.11.2, selector/lexer/tokenize.go parseCurRune advances the input index across trailing whitespace and then reads the source at the exhausted index without an end-of-input check. A selector ending in whitespace, including input passed through lexer.NewTokenizer(...).Tokenize() or dasel.Query, can therefore cause an index-out-of-range panic and terminate the process. This issue is fixed in version 3.11.2. | |
| Title | Dasel: Selector lexer panics on trailing whitespace in `parseCurRune` | |
| Weaknesses | CWE-129 | |
| References |
| |
| Metrics |
cvssV3_1
|