NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-7774
Summary

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.

Publication Date Oct. 29, 2024, 10:15 p.m.
Registration Date Oct. 30, 2024, 5 a.m.
Last Update Nov. 1, 2024, 12:39 a.m.
CVSS3.1 : CRITICAL
スコア 9.1
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:langchain:langchain:0.2.5:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
langchain におけるパストラバーサルの脆弱性
Title langchain におけるパストラバーサルの脆弱性
Summary

langchain には、パストラバーサルの脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date Oct. 29, 2024, midnight
Registration Date Nov. 1, 2024, 11:25 a.m.
Last Update Nov. 1, 2024, 11:25 a.m.
Affected System
langchain
langchain 0.2.5
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2024年11月01日]
  掲載
Nov. 1, 2024, 11:25 a.m.