Published July 3, 2023
An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be...
Full analysis pending. Showing NVD description excerpt.
Affected Systems
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| langchain | pip | < 0.0.247 | 0.0.247 |
| langchain | pip | — | No patch |
Severity & Risk
CVSS 3.1
9.8 / 10
EPSS
0.5%
chance of exploitation in 30 days
KEV Status
Not in KEV
Sophistication
N/A
Recommended Action
Patch available
Update langchain to version 0.0.247
Compliance Impact
Compliance analysis pending. Sign in for full compliance mapping when available.
Technical Details
NVD Description
An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H References
- github.com/hwchase17/langchain/issues/5872 Exploit Issue Mitigation
- github.com/hwchase17/langchain/issues/5872 Exploit Issue Mitigation
- github.com/advisories/GHSA-2qmj-7962-cjq8
- github.com/langchain-ai/langchain/commit/8ba9835b925473655914f63822775679e03ea137
- github.com/langchain-ai/langchain/commit/e294ba475a355feb95003ed8f1a2b99942509a9e
- github.com/langchain-ai/langchain/commit/fab24457bcf8ede882abd11419769c92bc4e7751
- github.com/langchain-ai/langchain/issues/5872
- github.com/langchain-ai/langchain/issues/5872
- github.com/langchain-ai/langchain/pull/6003
- github.com/langchain-ai/langchain/pull/7870
- github.com/langchain-ai/langchain/pull/8425
- github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-98.yaml
- nvd.nist.gov/vuln/detail/CVE-2023-36258
Timeline
Published
July 3, 2023
Last Modified
November 22, 2024
First Seen
July 3, 2023