Tóm tắt nhanh
- CVE-2024-7774 là lỗ hổng mức NGHIÊM TRỌNG (CVSS 9.1) ảnh hưởng langchain.js (langchain), langchain.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.56%, cao hơn 46.4% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 0.2.19 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.js | = 0.2.5
| Chưa có bản vá |
| langchain npm | < 0.2.19
| 0.2.19
|
Mô tả
A path traversal vulnerability exists in the getFullPath method of langchain-ai/langchainjs version 0.2.5. This vulnerability allows attackers to save files anywhere in the filesystem, overwrite existing text files, read .txt files, and delete files. The vulnerability is exploited through the setFileContent, getParsedFile, and mdelete methods, which do not properly sanitize user input.
Mô tả của NVD
A path traversal vulnerability exists in the `getFullPath` method of langchain-ai/langchainjs version 0.2.5. This vulnerability allows attackers to save files anywhere in the filesystem, overwrite existing text files, read `.txt` files, and delete files. The vulnerability is exploited through the `setFileContent`, `getParsedFile`, and `mdelete` methods, which do not properly sanitize user input.
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í