GHSA-GWQQ-6VQ7-5J86
Vulnerability from github – Published: 2023-08-05 03:30 – Updated: 2024-09-27 17:45
VLAI?
Summary
langchain Code Injection vulnerability
Details
An issue in Harrison Chase langchain allows an attacker to execute arbitrary code via the PALChain,from_math_prompt(llm).run in the python exec method.
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "langchain"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.236"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-36095"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2023-08-09T14:11:52Z",
"nvd_published_at": "2023-08-05T03:15:13Z",
"severity": "CRITICAL"
},
"details": "An issue in Harrison Chase langchain allows an attacker to execute arbitrary code via the PALChain,from_math_prompt(llm).run in the python exec method.",
"id": "GHSA-gwqq-6vq7-5j86",
"modified": "2024-09-27T17:45:11Z",
"published": "2023-08-05T03:30:19Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36095"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langchain/issues/5872"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langchain/pull/6003"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langchain/pull/7870"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langchain/commit/8ba9835b925473655914f63822775679e03ea137"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langchain/commit/e294ba475a355feb95003ed8f1a2b99942509a9e"
},
{
"type": "WEB",
"url": "https://github.com/hwchase17/langchain"
},
{
"type": "PACKAGE",
"url": "https://github.com/langchain-ai/langchain"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langchain/commits/v0.0.236?after=4d8b48bdb3f17c764c5c2e3c7140071603869e74+34\u0026branch=v0.0.236\u0026qualified_name=refs%2Ftags%2Fv0.0.236"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/langchain/PYSEC-2023-138.yaml"
},
{
"type": "WEB",
"url": "http://langchain.com"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "langchain Code Injection vulnerability"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…