From e4e0aed6175235786abf554cf277f7c5adbc3fda Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Fri, 21 Mar 2025 16:45:01 +0000 Subject: [PATCH] Publish GHSA-5chr-fjjv-38qv --- .../GHSA-5chr-fjjv-38qv.json | 71 +++++++++++++++++-- 1 file changed, 67 insertions(+), 4 deletions(-) rename advisories/{unreviewed => github-reviewed}/2025/03/GHSA-5chr-fjjv-38qv/GHSA-5chr-fjjv-38qv.json (50%) diff --git a/advisories/unreviewed/2025/03/GHSA-5chr-fjjv-38qv/GHSA-5chr-fjjv-38qv.json b/advisories/github-reviewed/2025/03/GHSA-5chr-fjjv-38qv/GHSA-5chr-fjjv-38qv.json similarity index 50% rename from advisories/unreviewed/2025/03/GHSA-5chr-fjjv-38qv/GHSA-5chr-fjjv-38qv.json rename to advisories/github-reviewed/2025/03/GHSA-5chr-fjjv-38qv/GHSA-5chr-fjjv-38qv.json index 2841f39c401..708787348dc 100644 --- a/advisories/unreviewed/2025/03/GHSA-5chr-fjjv-38qv/GHSA-5chr-fjjv-38qv.json +++ b/advisories/github-reviewed/2025/03/GHSA-5chr-fjjv-38qv/GHSA-5chr-fjjv-38qv.json @@ -1,11 +1,12 @@ { "schema_version": "1.4.0", "id": "GHSA-5chr-fjjv-38qv", - "modified": "2025-03-20T12:32:41Z", + "modified": "2025-03-21T16:43:25Z", "published": "2025-03-20T12:32:41Z", "aliases": [ "CVE-2024-10940" ], + "summary": "langchain-core allows unauthorized users to read arbitrary files from the host file system", "details": "A vulnerability in langchain-core versions >=0.1.17,<0.1.53, >=0.2.0,<0.2.43, and >=0.3.0,<0.3.15 allows unauthorized users to read arbitrary files from the host file system. The issue arises from the ability to create langchain_core.prompts.ImagePromptTemplate's (and by extension langchain_core.prompts.ChatPromptTemplate's) with input variables that can read any user-specified path from the server file system. If the outputs of these prompt templates are exposed to the user, either directly or through downstream model outputs, it can lead to the exposure of sensitive information.", "severity": [ { @@ -13,7 +14,65 @@ "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N" } ], - "affected": [], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "langchain-core" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.1.17" + }, + { + "fixed": "0.1.53" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "PyPI", + "name": "langchain-core" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.2.0" + }, + { + "fixed": "0.2.43" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "PyPI", + "name": "langchain-core" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.3.0" + }, + { + "fixed": "0.3.15" + } + ] + } + ] + } + ], "references": [ { "type": "ADVISORY", @@ -23,6 +82,10 @@ "type": "WEB", "url": "https://github.com/langchain-ai/langchain/commit/c1e742347f9701aadba8920e4d1f79a636e50b68" }, + { + "type": "PACKAGE", + "url": "https://github.com/langchain-ai/langchain" + }, { "type": "WEB", "url": "https://huntr.com/bounties/be1ee1cb-2147-4ff4-a57b-b6045271cf27" @@ -33,8 +96,8 @@ "CWE-497" ], "severity": "MODERATE", - "github_reviewed": false, - "github_reviewed_at": null, + "github_reviewed": true, + "github_reviewed_at": "2025-03-21T16:43:25Z", "nvd_published_at": "2025-03-20T10:15:21Z" } } \ No newline at end of file