Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GHSA-7gfq-f96f-g85j] langchain vulnerable to arbitrary code execution #2843

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"schema_version": "1.4.0",
"id": "GHSA-7gfq-f96f-g85j",
"modified": "2023-08-31T14:25:01Z",
"modified": "2023-08-31T14:25:03Z",
"published": "2023-08-22T21:30:27Z",
"aliases": [
"CVE-2023-36281"
],
"summary": "langchain vulnerable to arbitrary code execution",
"details": "An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via the via the a json file to the load_prompt parameter.",
"details": "An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via the via the a json file to the load_prompt parameter.\n\nIssue resolved in LangChain v0.0.312. Ability to load jinja2-formatted prompt templates from files was disabled.",
"severity": [
{
"type": "CVSS_V3",
Expand All @@ -20,11 +20,6 @@
"ecosystem": "PyPI",
"name": "langchain"
},
"ecosystem_specific": {
"affected_functions": [
""
]
},
"ranges": [
{
"type": "ECOSYSTEM",
Expand All @@ -33,11 +28,14 @@
"introduced": "0"
},
{
"last_affected": "0.0.171"
"fixed": "0.0.312"
}
]
}
]
],
"database_specific": {
"last_known_affected_version_range": "<= 0.0.171"
}
}
],
"references": [
Expand All @@ -49,6 +47,10 @@
"type": "WEB",
"url": "https://github.com/hwchase17/langchain/issues/4394"
},
{
"type": "WEB",
"url": "https://github.com/langchain-ai/langchain/pull/10252"
},
{
"type": "WEB",
"url": "https://aisec.today/LangChain-2e6244a313dd46139c5ef28cbcab9e55"
Expand Down