CVE-2023-36095
langchain Code Injection vulnerability
9.8
CRITICAL
CVSS 3.1
EPSS 3.2%
Description
An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the PALChain, affected functions include from_math_prompt and from_colored_object_prompt.
How to fix CVE-2023-36095
To remediate CVE-2023-36095, upgrade the affected package to a fixed version below.
- PyPI/langchain—upgrade to 0.0.236 or later
- —upgrade to 0.0.236 or later
Is CVE-2023-36095 being exploited?
Low — EPSS is 3.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.0.236
- from 0, < 0.0.236
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |