Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. composio-core
  4. ›
  5. CVE-2024-8953

CVE-2024-8953: Composio Eval Injection Vulnerability

March 20, 2025 (updated March 22, 2025)

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.

References

  • github.com/ComposioHQ/composio-js
  • github.com/ComposioHQ/composio/blob/b932d99e67f0fe95f8a0a24be9352e3f99059bc3/python/composio/tools/local/mathematical/actions/calculator.py
  • github.com/ComposioHQ/composio/commit/ed82fb45dc9fbd7f07c535c72bada871c158ae5f
  • github.com/advisories/GHSA-5xg7-5662-8x7j
  • huntr.com/bounties/8203d721-e05f-4500-a5bc-c0bec980420c
  • nvd.nist.gov/vuln/detail/CVE-2024-8953

Code Behaviors & Features

Detect and mitigate CVE-2024-8953 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.43

Fixed versions

  • 0.5.43

Solution

Upgrade to version 0.5.43 or above.

Impact 7.2 HIGH

CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-627: Dynamic Variable Evaluation

Source file

pypi/composio-core/CVE-2024-8953.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:54 +0000.