{
  "schema_version": "1.4.0",
  "id": "GHSA-5xg7-5662-8x7j",
  "modified": "2025-03-22T00:19:04Z",
  "published": "2025-03-20T12:32:49Z",
  "aliases": [
    "CVE-2024-8953"
  ],
  "summary": "Composio Eval Injection Vulnerability",
  "details": "In composiohq/composio version 0.4.3, the mathematical_calculator endpoint uses the unsafe eval() function to perform mathematical operations. This can lead to arbitrary code execution if untrusted input is passed to the eval() function.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "composio-core"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.5.43"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8953"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ComposioHQ/composio/commit/ed82fb45dc9fbd7f07c535c72bada871c158ae5f"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ComposioHQ/composio-js"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ComposioHQ/composio/blob/b932d99e67f0fe95f8a0a24be9352e3f99059bc3/python/composio/tools/local/mathematical/actions/calculator.py#L37"
    },
    {
      "type": "WEB",
      "url": "https://huntr.com/bounties/8203d721-e05f-4500-a5bc-c0bec980420c"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-627"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-22T00:19:04Z",
    "nvd_published_at": "2025-03-20T10:15:44Z"
  }
}