CVE-2024-28088
LangChain directory traversal vulnerability
EPSS 1.7%
描述
LangChain through 0.1.10 allows ../ directory traversal by an actor who is able to control the final part of the path parameter in a load_chain call. This bypasses the intended behavior of loading configurations only from the hwchase17/langchain-hub GitHub repository. The outcome can be disclosure of an API key for a large language model online service, or remote code execution. (A patch is available as of release 0.1.29 of langchain-core.)
如何修補 CVE-2024-28088
要修補 CVE-2024-28088,請將受影響套件升級到下列已修補版本。
- PyPI/langchain—升級至 0.0.339 或更新版本
- —升級至 0.1.11 或更新版本
- —升級至 0.1.30 或更新版本
- —升級至 0.1.11 或更新版本
CVE-2024-28088 正在被利用嗎?
低 — EPSS 為 1.7%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, < 0.0.339
- from 0, < 0.1.11
- from 0, < 0.1.30
- from 0, < 0.1.11