CVE-2024-1455

Billion Laughs Attack leading to DoS in langchain-ai/langchain

State
Published
Severity
5.9 Medium
Published
Mar 26, 2024
Updated
Aug 15, 2024
Reserved
Feb 12, 2024

Read the record on cve.org

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).

Scores

CVSSScoreVectorSource
3.05.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H@huntr_ai

Weaknesses

  • CWE-776 Improper Restriction of Recursive Entity References in DTDs

Affected Products

ProductVersions
langchain-ai/langchainlangchain-ai
  • before 0.1.35Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.