Billion Laughs Attack leading to DoS in langchain-ai/langchain
langchain-ai/langchain
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| langchain-core PyPI |
|
|
Original description
A vulnerability in the langchain-ai/langchain repository allows for a Billion Laughs Attack, a type of XML External Entity (XXE) exploitation. By nesting multiple layers of entities within an XML document, an attacker can cause the XML parser to consume excessive CPU and memory resources, leading to a denial of service (DoS).
From the CVE record · @huntr_ai