Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal
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-m6xr-fvfg-5g64 | Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.162% 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.10.1, the selector lexer matchRegexPattern closure in (*Tokenizer).parseCurRune in selector/lexer/tokenize.go loops while tokenizing an unterminated regex literal such as r/ because peekRuneEqual returns false after the end of input, allowing attacker-controlled selector strings to consume CPU indefinitely. This issue is fixed in version 3.10.1. | |
| Title | Dasel: Denial of service in dasel selector lexer due to infinite loop on unterminated regex literal | |
| Weaknesses | CWE-835 | |
| References |
| |
| Metrics |
cvssV3_1
|