深刻度 緊急
Langchain vulnerable to arbitrary code execution via the evaluate function in the numexpr library
langchain(ライブラリ)の脆弱性です。深刻度は「緊急」、CVSS は 9.8です。修正版は 0.0.308 です。
- 対象
- langchain(ライブラリ)
- CVE 番号
- CVE-2023-39631
- 深刻度
- 緊急CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- 影響を受けるバージョン
- 0.0.308 未満
- 修正版
- 0.0.308
- 公開日
- 情報の更新日
- 出典
- OSV.dev(GitHub Advisory を含む OSS 脆弱性データベース)
どのような脆弱性ですか
日本語解説は確認中です。
An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary code via the evaluate function in the numexpr library. Patches: Released in v.0.0.308. numexpr dependency is optional for langchain.(原文の抜粋です。全文は下の参考情報から確認できます)
どう対応すればよいですか
langchain を、修正版の 0.0.308 以降に更新してください。
更新の前に、サイトのバックアップを取っておくと、不具合が出たときに戻せます。
参考情報
- https://nvd.nist.gov/vuln/detail/CVE-2023-39631(新しいタブで開きます)
- https://github.com/langchain-ai/langchain/issues/8363(新しいタブで開きます)
- https://github.com/pydata/numexpr/issues/442(新しいタブで開きます)
- https://github.com/langchain-ai/langchain/pull/11302(新しいタブで開きます)
- https://github.com/pydata/numexpr/commit/4b2d89cf14e75030d27629925b9998e1e91d23c7(新しいタブで開きます)
- https://github.com/langchain-ai/langchain(新しいタブで開きます)
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.308(新しいタブで開きます)
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-162.yaml(新しいタブで開きます)
- https://github.com/pypa/advisory-database/tree/main/vulns/numexpr/PYSEC-2023-163.yaml(新しいタブで開きます)
langchain のほかの脆弱性
あなたのサイトは影響を受けていますか
Cyber Shield Guard は、サイトで使っているプラグインとテーマを脆弱性データベースと毎日突き合わせ、該当があれば通知します。登録したサイトが対象かどうかを確かめられます。