INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-23731

Code execution in Embedchain

CVE-2024-23731 ยท 2024-01-21 critical

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Code and command execution
Affected
embedchain (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.1% chance of exploitation in 30 days

How it works, in short

A crafted OpenAPI file parsed by the Embedchain loader reaches unsafe yaml.load, executing code on the server. (Our summary, written by a model. The source text is below.)

Details

The OpenAPI loader in Embedchain before 0.1.57 allows attackers to execute arbitrary code, related to the openapi.py yaml.load function argument.

References

Source: GitHub Advisory Database, used under CC BY 4.0.