Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS
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-cqxr-jxr2-85pq | Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.130% 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.1, parsing/json/json_reader.go decodeValue, decodeObject, and decodeArray, and parsing/xml/reader.go parseElement, recurse once per input nesting level without a depth guard. Deeply nested attacker-controlled JSON or XML supplied through parsing.Format(...).NewReader(...).Read(data), the command-line interface, or the parse selector function can exhaust the Go goroutine stack and raise an unrecoverable fatal error that terminates the entire process. The XML input-size limit does not prevent depth exhaustion, and defer or recover cannot intercept the failure. This issue is fixed in version 3.11.1. | |
| Title | Dasel: Unbounded recursion in JSON and XML readers causes unrecoverable stack-overflow DoS | |
| Weaknesses | CWE-674 | |
| References |
| |
| Metrics |
cvssV3_1
|