CVE-2024-8953
Composio vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Composio. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Composio runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- huntr.com/bounties/8203d721-e05f-4500-a5bc-c0bec980420c · Exploit
- nvd.nist.gov/vuln/detail/CVE-2024-8953
- github.com/ComposioHQ/composio/commit/ed82fb45dc9fbd7f07c535c72bada871c158ae5f
- github.com/ComposioHQ/composio/blob/b932d99e67f0fe95f8a0a24be9352e3f99059bc3/python/compos
- github.com/advisories/GHSA-5xg7-5662-8x7j
- nvd.nist.gov/vuln/detail/CVE-2024-8953
- cve.org/CVERecord?id=CVE-2024-8953
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.