Skip to content

Duplicate Advisory: ReDoS via crafted JSON input in GJSON

High severity GitHub Reviewed Published May 25, 2022 to the GitHub Advisory Database • Updated May 3, 2024
Withdrawn This advisory was withdrawn on May 3, 2024

Package

gomod github.com/tidwall/gjson (Go)

Affected versions

< 1.9.3

Patched versions

1.9.3

Description

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-ppj4-34rq-v8j9. This link is maintained to preserve external references.

Original Description

GJSON <= 1.9.2 allows attackers to cause a redos via crafted JSON input.

References

Published by the National Vulnerability Database May 24, 2022
Published to the GitHub Advisory Database May 25, 2022
Reviewed Jun 6, 2022
Withdrawn May 3, 2024
Last updated May 3, 2024

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2021-42248

GHSA ID

GHSA-c9gm-7rfj-8w5h

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.