CVE-2024-1455 Billion Laughs Attack leading to DoS in langchain-ai/langchain
MediumCVSS 5.9
EPSS 0.87%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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).
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| @langchain langchain | >= 0.1.4, <= 0.1.35 | after 0.1.35 | Fixed |
| langchain-ai/langchain | < 0.1.35 | 0.1.35 | Fixed |
| pypi langchain-core(PyPI) | < 0.1.35; = 0.0.1; = 0.0.2; = 0.0.3 +51 more | 0.1.35 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi langchain-core(PyPI) | < 0.1.35 | 0.1.35 |
| pypi langchain-core(PyPI) | = 0.0.1 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.10 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.11 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.12 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.13 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.13rc1 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.13rc2 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.2 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.3 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.4 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.5 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.6 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.7 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.8 | No fix listed |
| pypi langchain-core(PyPI) | = 0.0.9 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.0 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.1 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.10 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.11 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.12 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.12rc1 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.13 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.14 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.15 | No fix listed |
Show 32 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi langchain-core(PyPI) | = 0.1.15rc1 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.15rc2 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.16 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.17 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.18 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.19 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.2 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.20 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.21 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.22 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.23 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.24 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.25 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.26 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.27 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.28 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.29 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.3 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.30 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.31 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.32 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.33 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.33rc1 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.34 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.4 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.5 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.6 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.7 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.8 | No fix listed |
| pypi langchain-core(PyPI) | = 0.1.9 | No fix listed |
| langchain-ai/langchain | < 0.1.35 | 0.1.35 |
| @langchain langchain | >= 0.1.4, <= 0.1.35 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com product
- huntr.com exploit third-party-advisory
- pypi.org product
- github.com vendor-advisory