{
  "schema_version": "1.4.0",
  "id": "GHSA-6v28-q95m-93qr",
  "modified": "2025-03-20T20:50:47Z",
  "published": "2025-03-20T12:32:48Z",
  "aliases": [
    "CVE-2024-8524"
  ],
  "summary": "AgentScope directory traversal vulnerability in /read-examples",
  "details": "A directory traversal vulnerability exists in modelscope/agentscope version 0.0.4. An attacker can exploit this vulnerability to read any local JSON file by sending a crafted POST request to the /read-examples endpoint.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "agentscope"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.0.4"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8524"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/modelscope/agentscope"
    },
    {
      "type": "WEB",
      "url": "https://github.com/modelscope/agentscope/blob/af8e45ded37b3834c981473b309239e0102473d0/src/agentscope/studio/_app.py#L642"
    },
    {
      "type": "WEB",
      "url": "https://huntr.com/bounties/cc4acf33-700d-4220-8a8a-db28f5c4cc8f"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-22",
      "CWE-73"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-20T20:50:47Z",
    "nvd_published_at": "2025-03-20T10:15:42Z"
  }
}