Browse / AI Framework and Platform Flaws / CVE-2024-23732
ReDoS in Embedchain
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Denial of service
- Affected
- embedchain (PyPI)
- EPSS
- 0.8% chance of exploitation in 30 days
How it works, in short
A long crafted string sent to the JSON loader triggers catastrophic regex backtracking, tying up CPU for the duration of parsing. (Our summary, written by a model. The source text is below.)
Details
The JSON loader in Embedchain before 0.1.57 allows a ReDoS (regular expression denial of service) via a long string to json.py.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23732
- 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-8.yaml
Source: GitHub Advisory Database, used under CC BY 4.0.