{
  "schema_version": "1.4.0",
  "id": "GHSA-pq2g-wx69-c263",
  "modified": "2025-03-12T14:28:04Z",
  "published": "2025-02-06T06:31:26Z",
  "aliases": [
    "CVE-2024-57699"
  ],
  "summary": "Netplex Json-smart Uncontrolled Recursion vulnerability",
  "details": "A security issue was found in Netplex Json-smart 2.5.0 through 2.5.1. When loading a specially crafted JSON input, containing a large number of ’{’, a stack exhaustion can be trigger, which could allow an attacker to cause a Denial of Service (DoS). This issue exists because of an incomplete fix for CVE-2023-1370.\n\nThe fixed version only addresses the default modes provided by [JSONParser](https://github.com/netplex/json-smart-v2/blob/master/json-smart/src/main/java/net/minidev/json/parser/JSONParser.java#L118), such as `MODE_RFC4627`. If you create the JSONParser manually or with custom options, make sure to set the `LIMIT_JSON_DEPTH` option.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Maven",
        "name": "net.minidev:json-smart"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "2.5.0"
            },
            {
              "fixed": "2.5.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-57699"
    },
    {
      "type": "WEB",
      "url": "https://github.com/netplex/json-smart-v2/issues/232"
    },
    {
      "type": "WEB",
      "url": "https://github.com/netplex/json-smart-v2/issues/233"
    },
    {
      "type": "WEB",
      "url": "https://github.com/netplex/json-smart-v2/issues/236"
    },
    {
      "type": "WEB",
      "url": "https://github.com/TurtleLiu/Vul_PoC/tree/main/CVE-2024-57699"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/netplex/json-smart-v2"
    },
    {
      "type": "WEB",
      "url": "https://github.com/netplex/json-smart-v2/releases/tag/2.5.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/cve-2023-1370"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-674"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-02-06T19:01:17Z",
    "nvd_published_at": "2025-02-05T22:15:33Z"
  }
}