Tóm tắt nhanh
- CVE-2024-1455 là lỗ hổng mức TRUNG BÌNH (CVSS 5.9) ảnh hưởng langchain-core, langchain (langchain).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.76%, cao hơn 55.4% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 0.1.35 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| langchain-core PyPI | < 0.1.35
| 0.1.35
|
| langchain | ≥ 0.1.4, ≤ 0.1.35
| Chưa có bản vá |
Mô tả
The XMLOutputParser in LangChain uses the etree module from the XML parser in the standard python library which has some XML vulnerabilities; see: https://docs.python.org/3/library/xml.html
This primarily affects users that combine an LLM (or agent) with the XMLOutputParser and expose the component via an endpoint on a web-service.
This would allow a malicious party to attempt to manipulate the LLM to produce a malicious payload for the parser that would compromise the availability of the service.
A successful attack is predicated on:
- Usage of XMLOutputParser
- Passing of malicious input into the XMLOutputParser either directly or by trying to manipulate an LLM to do so on the users behalf
- Exposing the component via a web-service
Mô tả của NVD
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).
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí