Uncontrolled Recursion Affecting json-smart package, versions <2.2-2+deb10u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.11% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN10-JSONSMART-3366786
  • published21 Mar 2023
  • disclosed22 Mar 2023

Introduced: 21 Mar 2023

CVE-2023-1370  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Debian:10 json-smart to version 2.2-2+deb10u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream json-smart package and not the json-smart package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

Json-smart is a performance focused, JSON processor lib.

When reaching a ‘[‘ or ‘{‘ character in the JSON input, the code parses an array or an object respectively.

It was discovered that the code 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 a stack exhaustion (stack overflow) and crash the software.

CVSS Scores

version 3.1