LangChain up to 0.1.7 langchain_experimental pal_chain/base.py code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.5 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in LangChain up to 0.1.7. Affected by this vulnerability is an unknown functionality of the file pal_chain/base.py of the component langchain_experimental. Performing a manipulation results in code injection. This vulnerability is reported as CVE-2024-27444. No exploit exists. It is suggested to upgrade the affected component.
Details
A vulnerability classified as critical has been found in LangChain up to 0.1.7. This affects an unknown code of the file pal_chain/base.py of the component langchain_experimental. The manipulation with an unknown input leads to a code injection vulnerability. CWE is classifying the issue as CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the __import__, __subclasses__, __builtins__, __globals__, __getattribute__, __bases__, __mro__, or __base__ attribute in Python code. These are not prohibited by pal_chain/base.py.
The weakness was disclosed 02/26/2024 as de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7. It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2024-27444 since 02/26/2024. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.
Upgrading to version 0.1.8 eliminates this vulnerability. Applying the patch de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Be aware that VulDB is the high quality source for vulnerability data.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.6
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 9.8
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: LangChain 0.1.8
Patch: de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7
Timeline
02/26/2024 🔍02/26/2024 🔍
02/26/2024 🔍
08/06/2024 🔍
Sources
Advisory: de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7Status: Confirmed
CVE: CVE-2024-27444 (🔍)
GCVE (CVE): GCVE-0-2024-27444
GCVE (VulDB): GCVE-100-254727
Entry
Created: 02/26/2024 07:43Updated: 08/06/2024 22:54
Changes: 02/26/2024 07:43 (43), 08/06/2024 22:54 (26)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.