{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:jishenghua:jsherp:3.3:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.3"
              },
              {
                "last_affected": "3.3"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "13cce4d4fbd4ed5a03d85426ed0be95917d1625d"
            },
            {
              "last_affected": "13cce4d4fbd4ed5a03d85426ed0be95917d1625d"
            }
          ],
          "repo": "https://github.com/jishenghua/jsherp",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.3"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24002.json"
  },
  "details": "jshERP v3.3 is vulnerable to SQL Injection. The com.jsh.erp.controller.MaterialController: com.jsh.erp.utils.BaseResponseInfo getListWithStock() function of jshERP does not filter `column` and `order` parameters well enough, and an attacker can construct malicious payload to bypass jshERP's protection mechanism in `safeSqlParse` method for sql injection.",
  "id": "CVE-2024-24002",
  "modified": "2026-08-12T03:51:12.999026994Z",
  "published": "2024-02-06T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/cxcxcxcxcxcxcxc/cxcxcxcxcxcxcxc/blob/main/cxcxcxcxcxc/about-2024/24002.txt"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24002.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-24002"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/jishenghua/jshERP/issues/99"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}