DirectorySecurity Advisories
Sign In
Security Advisories

CGA-c3jp-34px-f3r6

Published

Last updated

https://images.chainguard.dev/security/CGA-c3jp-34px-f3r6
Package

spark-3.5.0-compat

Latest Update
Not affected
Aliases
  • CVE-2023-1370
  • GHSA-493p-pfq6-5258

Severity

7.5

High

CVSS V3

Summary

json-smart Uncontrolled Recursion vulnerabilty

Description

Impact

Affected versions of net.minidev:json-smart are vulnerable to Denial of Service (DoS) due to a StackOverflowError when parsing a deeply nested JSON array or object.

When reaching a ‘[‘ or ‘{‘ character in the JSON input, the code parses an array or an object respectively. It was discovered that the 3PP does not have any limit to the nesting of such arrays or objects. Since the parsing of nested arrays and objects is done recursively, nesting too many of them can cause stack exhaustion (stack overflow) and crash the software.

Patches

This vulnerability was fixed in json-smart version 2.4.9, but the maintainer recommends upgrading to 2.4.10, due to a remaining bug.

Workarounds

N/A

References

References

Updates


Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2024 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Product

Chainguard Images