VulnerabilityModified
CVE-2023-36281
An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a JSON file to load_prompt.
CRITICAL 9.8EPSS 3.44%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.44%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a JSON file to load_prompt. This is related to __subclasses__ or a template.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.44% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- langchain/langchain
- Source
- cve@mitre.org
References
- https://aisec.today/LangChain-2e6244a313dd46139c5ef28cbcab9e55Exploit, Third Party Advisory
- https://github.com/hwchase17/langchain/issues/4394Exploit, Issue Tracking, Vendor Advisory
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.312
- https://aisec.today/LangChain-2e6244a313dd46139c5ef28cbcab9e55Exploit, Third Party Advisory
- https://github.com/hwchase17/langchain/issues/4394Exploit, Issue Tracking, Vendor Advisory
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.312
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.