embedchain/embedchain · Security
Code execution in Embedchain
- GHSA ID
- GHSA-rhhj-5436-95vf
- CVE ID
- CVE-2024-23731
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
The OpenAPI loader in Embedchain before 0.1.57 allows attackers to execute arbitrary code, related to the openapi.py yaml.load function argument.
CWEs
- CWE-88 · Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23731 ↗
- https://github.com/embedchain/embedchain/pull/1122 ↗
- https://github.com/embedchain/embedchain/compare/0.1.56...0.1.57 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/embedchain/PYSEC-2024-7.yaml ↗
- https://github.com/advisories/GHSA-rhhj-5436-95vf ↗