PT-2021-23690 · Gjson+1 · Gjson+1
Cmdrgho
·
Published
2021-10-22
·
Updated
2022-08-15
·
CVE-2021-42836
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
GJSON versions prior to 1.9.3
Description
The issue allows a ReDoS (regular expression denial of service) attack. GJSON is a Go package that provides a fast and simple way to get values from a JSON document. A maliciously crafted path can cause Get and other query functions to consume excessive amounts of CPU and time.
Recommendations
For versions prior to 1.9.3, update to version 1.9.3 or later to resolve the issue. As a temporary workaround, consider restricting the use of crafted JSON input to minimize the risk of exploitation. Avoid using maliciously crafted paths in the Get and other query functions until the issue is resolved.
Exploit
Fix
DoS
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Debian
Gjson