Tóm tắt nhanh
- CVE-2024-3571 là lỗ hổng mức CAO (CVSS 8.8) ảnh hưởng langchain, langchain (langchain).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 1.9%, cao hơn 79.4% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 0.0.353 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 PyPI | < 0.0.353
| 0.0.353
|
| langchain | = 0.0.351
| Chưa có bản vá |
Mô tả
langchain-ai/langchain is vulnerable to path traversal due to improper limitation of a pathname to a restricted directory ('Path Traversal') in its LocalFileStore functionality. An attacker can leverage this vulnerability to read or write files anywhere on the filesystem, potentially leading to information disclosure or remote code execution. The issue lies in the handling of file paths in the mset and mget methods, where user-supplied input is not adequately sanitized, allowing directory traversal sequences to reach unintended directories.
Mô tả của NVD
langchain-ai/langchain is vulnerable to path traversal due to improper limitation of a pathname to a restricted directory ('Path Traversal') in its LocalFileStore functionality. An attacker can leverage this vulnerability to read or write files anywhere on the filesystem, potentially leading to information disclosure or remote code execution. The issue lies in the handling of file paths in the mset and mget methods, where user-supplied input is not adequately sanitized, allowing directory traversal sequences to reach unintended directories.
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í