LangChainGHSA-wmvm-9vqv-5qpp
langchain_experimental Code Execution via Python REPL access
High7.8CVE-2024-38459 · Published Jun 16, 2024 · updated Jul 5, 2024
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| langchain-experimental PyPI | < 0.0.61 | 0.0.61 |
Details and references
langchain_experimental (aka LangChain Experimental) before 0.0.61 for LangChain provides Python REPL access without an opt-in step. NOTE; this issue exists because of an incomplete fix for CVE-2024-27444.
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-276
- Also known as
- CVE-2024-38459, PYSEC-2024-53
- nvd.nist.gov/vuln/detail/CVE-2024-38459
- github.com/langchain-ai/langchain/pull/22860
- github.com/langchain-ai/langchain/commit/ce0b0f22a175139df8f41cdcfb4d2af411112009
- github.com/langchain-ai/langchain
- github.com/langchain-ai/langchain/compare/langchain-experimental==0.0.60...langchain-experimental==0.0.61
- github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2024-53.yaml
More LangChain advisories
All LangChain| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 62024 | Denial of service in langchain-community CVE-2024-2965Medium4.2fixed in 0.2.5 | Medium4.2 | 0.2.5 |
| Jun 62024 | Server-Side Request Forgery in langchain-community.retrievers.web_research.WebResearchRetriever CVE-2024-3095Medium4.8fixed in 0.2.9 | Medium4.8 | 0.2.9 |
| Jul 152024 | langchain-experimental vulnerable to Arbitrary Code Execution CVE-2024-21513Critical8.5fixed in 0.0.21 | Critical8.5 | 0.0.21 |
| Apr 162024 | langchain vulnerable to path traversal CVE-2024-3571Medium6.5fixed in 0.0.353 | Medium6.5 | 0.0.353 |
| Mar 262024 | LangChain's XMLOutputParser vulnerable to XML Entity Expansion CVE-2024-1455Medium5.9fixed in 0.1.35 | Medium5.9 | 0.1.35 |
| Sep 172024 | LangChain pickle deserialization of untrusted data CVE-2024-5998High5.2fixed in 0.2.4 | High5.2 | 0.2.4 |