Skip to content
Heist/ feed
Back to feed
HighFix available

json-smart — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-1370

[Json-smart](https://netplex.github.io/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.

Products
json-smart
Affected versions
2.2-2
Fixed versions
2.2-2+deb12u1, 2.2-3
CVEs
CVE-2023-1370
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:17 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-1370

core-osv · Original source

Published 22 Mar 2023, 06:15 UTC

[Json-smart](https://netplex.github.io/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.

osv:DEBIAN-CVE-2023-1370

json-smart

Fixed versions: 2.2-2+deb12u1

json-smart

Fixed versions: 2.2-3

json-smart

Fixed versions: 2.2-3

Complete source record
{
  "id": "ff2e8a84057964176c70e89fc4d801ae15bf4939f96aae1ea34b4d7f0c844650",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-1370",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-1370",
    "summary": "[Json-smart](https://netplex.github.io/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.",
    "evidence": "osv:DEBIAN-CVE-2023-1370",
    "products": [
      {
        "name": {
          "value": "json-smart",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.2-2+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.2-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "json-smart",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.2-3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "json-smart",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.2-3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-1370",
      "aliases": [
        "DEBIAN-CVE-2023-1370"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2-2+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "json-smart",
            "purl": "pkg:deb/debian/json-smart?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.2-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-1370.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2-3"
                }
              ]
            }
          ],
          "package": {
            "name": "json-smart",
            "purl": "pkg:deb/debian/json-smart?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-1370.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2-3"
                }
              ]
            }
          ],
          "package": {
            "name": "json-smart",
            "purl": "pkg:deb/debian/json-smart?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-1370.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:00:05.182331706Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-1370"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-1370"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-1370",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 454868,
  "published_at": "2023-03-22T06:15:09.493+00:00"
}