
Cloud Vulnerability DB
A community-led vulnerabilities database
A security vulnerability was identified in the embedchain library affecting the OpenAPI and JSON loader components. The issue was discovered and fixed in January 2024, impacting versions prior to 0.1.57. The vulnerability consisted of two main security issues: an arbitrary code execution risk in the OpenAPI loader and a potential ReDoS (Regular Expression Denial of Service) vulnerability in the JSON loader (GitHub PR).
The vulnerability comprised two distinct issues: First, an unsafe implementation of the yaml.load function in openapi.py that could allow arbitrary code execution. Second, a ReDoS vulnerability in json.py due to unrestricted character length in regular expressions. These issues were addressed by modifying the yaml.load function implementation and adding character length limitations to the JSON parsing functionality (GitHub PR).
The vulnerabilities could potentially allow attackers to execute arbitrary code through the OpenAPI loader and perform denial of service attacks via the JSON loader component (GitHub PR).
The issues were fully resolved in version 0.1.57 of the embedchain library. Users are advised to upgrade to this version or later to receive the security fixes. The patch includes safer implementation of the yaml.load function and proper character length limitations for JSON parsing (GitHub PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."