p PatchFirst

CVE-2024-1455

CVE-2024-1455 · Billion Laughs Attack leading to DoS in langchain-ai/langchain

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 5.9 · Medium · EPSS 0.8% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • langchain-ai/langchain

    Versions
    • ≥ unspecified, < 0.1.35: Affected (custom)

    Update to 0.1.35

  • langchain-core PyPI

    Versions
    • 0.0.1
    • 0.0.10
    • 0.0.11
    • 0.0.12
    • 0.0.13
    • 0.0.13rc1
    • 0.0.13rc2
    • 0.0.2
    • 0.0.3
    • 0.0.4
    • 0.0.5
    • 0.0.6
    • 0.0.7
    • 0.0.8
    • 0.0.9
    • 0.1.0
    • 0.1.1
    • 0.1.10
    • 0.1.11
    • 0.1.12
    • 0.1.12rc1
    • 0.1.13
    • 0.1.14
    • 0.1.15
    • 0.1.15rc1
    • 0.1.15rc2
    • 0.1.16
    • 0.1.17
    • 0.1.18
    • 0.1.19
    • 0.1.2
    • 0.1.20
    • 0.1.21
    • 0.1.22
    • 0.1.23
    • 0.1.24
    • 0.1.25
    • 0.1.26
    • 0.1.27
    • 0.1.28
    • 0.1.29
    • 0.1.3
    • 0.1.30
    • 0.1.31
    • 0.1.32
    • 0.1.33
    • 0.1.33rc1
    • 0.1.34
    • 0.1.4
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    Affected ranges
    • ECOSYSTEM: < 0.1.35

    Update to 0.1.35

Original sources

Check your server →