Skip to content

Out of bounds read in json-smart

High severity GitHub Reviewed Published Feb 10, 2022 to the GitHub Advisory Database • Updated Mar 31, 2023

Package

maven net.minidev:json-smart (Maven)

Affected versions

>= 1.3.0, < 1.3.3
>= 2.4.0, < 2.4.4

Patched versions

1.3.3
2.4.4

Description

A vulnerability was discovered in the indexOf function of JSONParserByteArray in JSON Smart versions prior to 1.3.3 and 2.4.5 which causes a denial of service (DOS) via a crafted web request.

References

Published by the National Vulnerability Database Jun 1, 2021
Reviewed Jun 2, 2021
Published to the GitHub Advisory Database Feb 10, 2022
Last updated Mar 31, 2023

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

CVE ID

CVE-2021-31684

GHSA ID

GHSA-fg2v-w576-w4v3

Source code

Credits

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