CVE-2024-8864: Composio Code Injection Vulnerability
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.25996%
CWE
Published
9/16/2024
Updated
9/17/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
composio-core | pip | <= 0.5.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the Calculator
action's execute
method (line 29 in calculator.py
) which uses eval()
on unvalidated user input (request.operation
). This violates CWE-94 as it allows code injection by passing malicious payloads in mathematical expressions. Multiple sources confirm the vulnerable pattern: 1) The GitHub code shows direct eval()
usage, 2) CVE description explicitly mentions this function/file
, 3) VulDB submission details the lack of input restrictions, and 4) The CVSS metrics align with code injection impacts. The combination of unsanitized eval
usage and explicit vulnerability reports gives high confidence in this identification.