Lucene search

K
cveJFROGCVE-2023-1370
HistoryMar 22, 2023 - 6:15 a.m.

CVE-2023-1370

2023-03-2206:15:09
CWE-674
JFROG
web.nvd.nist.gov
698
json-smart
json processor
performance
cve-2023-1370
security
vulnerability
stack overflow

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI Score

7.5

Confidence

High

EPSS

0.001

Percentile

46.1%

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.

Affected configurations

Nvd
Node
json-smart_projectjson-smartRange<2.4.9
VendorProductVersionCPE
json-smart_projectjson-smart*cpe:2.3:a:json-smart_project:json-smart:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "collectionURL": "https://mvnrepository.com",
    "vendor": "json-smart",
    "product": "json-smart",
    "packageName": "net.minidev:json-smart",
    "versions": [
      {
        "lessThan": "2.4.9",
        "status": "affected",
        "version": "0",
        "versionType": "maven"
      }
    ]
  }
]

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI Score

7.5

Confidence

High

EPSS

0.001

Percentile

46.1%