From 1c46cd4049e6f9dfb478b686096e1fce6e30683b Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 18:28:59 +0000 Subject: [PATCH] Publish Advisories GHSA-93c5-rj2p-w52x GHSA-rgp8-pm28-3759 GHSA-93c5-rj2p-w52x --- .../GHSA-93c5-rj2p-w52x.json | 61 +++++++++++++++++++ .../GHSA-rgp8-pm28-3759.json | 31 ++++++++-- .../GHSA-93c5-rj2p-w52x.json | 38 ------------ 3 files changed, 88 insertions(+), 42 deletions(-) create mode 100644 advisories/github-reviewed/2024/04/GHSA-93c5-rj2p-w52x/GHSA-93c5-rj2p-w52x.json rename advisories/{unreviewed => github-reviewed}/2024/04/GHSA-rgp8-pm28-3759/GHSA-rgp8-pm28-3759.json (69%) delete mode 100644 advisories/unreviewed/2024/04/GHSA-93c5-rj2p-w52x/GHSA-93c5-rj2p-w52x.json diff --git a/advisories/github-reviewed/2024/04/GHSA-93c5-rj2p-w52x/GHSA-93c5-rj2p-w52x.json b/advisories/github-reviewed/2024/04/GHSA-93c5-rj2p-w52x/GHSA-93c5-rj2p-w52x.json new file mode 100644 index 00000000000..6af44b3eb2f --- /dev/null +++ b/advisories/github-reviewed/2024/04/GHSA-93c5-rj2p-w52x/GHSA-93c5-rj2p-w52x.json @@ -0,0 +1,61 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-93c5-rj2p-w52x", + "modified": "2024-04-16T18:27:26Z", + "published": "2024-04-16T00:30:34Z", + "aliases": [ + "CVE-2024-3575" + ], + "summary": "Cross-site Scripting (XSS) in mindsdb/mindsdb", + "details": "When a user uploads a csv file that contains an javascript payload a Cross-site Scripting (XSS) is triggered when the file is viewed. This is true for both cloud version and OSS version.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "mindsdb" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "last_affected": "23.6.3.1" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-3575" + }, + { + "type": "PACKAGE", + "url": "https://github.com/mindsdb/mindsdb" + }, + { + "type": "WEB", + "url": "https://huntr.com/bounties/5f720b48-ddeb-4f2a-830f-a3dd15d5daa2" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-79" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-04-16T18:27:26Z", + "nvd_published_at": "2024-04-16T00:15:12Z" + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2024/04/GHSA-rgp8-pm28-3759/GHSA-rgp8-pm28-3759.json b/advisories/github-reviewed/2024/04/GHSA-rgp8-pm28-3759/GHSA-rgp8-pm28-3759.json similarity index 69% rename from advisories/unreviewed/2024/04/GHSA-rgp8-pm28-3759/GHSA-rgp8-pm28-3759.json rename to advisories/github-reviewed/2024/04/GHSA-rgp8-pm28-3759/GHSA-rgp8-pm28-3759.json index bf6ec56e1bc..379da873013 100644 --- a/advisories/unreviewed/2024/04/GHSA-rgp8-pm28-3759/GHSA-rgp8-pm28-3759.json +++ b/advisories/github-reviewed/2024/04/GHSA-rgp8-pm28-3759/GHSA-rgp8-pm28-3759.json @@ -1,11 +1,12 @@ { "schema_version": "1.4.0", "id": "GHSA-rgp8-pm28-3759", - "modified": "2024-04-16T00:30:34Z", + "modified": "2024-04-16T18:26:53Z", "published": "2024-04-16T00:30:34Z", "aliases": [ "CVE-2024-3571" ], + "summary": "langchain vulnerable to path traversal", "details": "langchain-ai/langchain is vulnerable to path traversal due to improper limitation of a pathname to a restricted directory ('Path Traversal') in its LocalFileStore functionality. An attacker can leverage this vulnerability to read or write files anywhere on the filesystem, potentially leading to information disclosure or remote code execution. The issue lies in the handling of file paths in the mset and mget methods, where user-supplied input is not adequately sanitized, allowing directory traversal sequences to reach unintended directories.", "severity": [ { @@ -14,7 +15,25 @@ } ], "affected": [ - + { + "package": { + "ecosystem": "PyPI", + "name": "langchain" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.0.353" + } + ] + } + ] + } ], "references": [ { @@ -25,6 +44,10 @@ "type": "WEB", "url": "https://github.com/langchain-ai/langchain/commit/aad3d8bd47d7f5598156ff2bdcc8f736f24a7412" }, + { + "type": "PACKAGE", + "url": "https://github.com/langchain-ai/langchain" + }, { "type": "WEB", "url": "https://huntr.com/bounties/2df3acdc-ee4f-4257-bbf8-a7de3870a9d8" @@ -35,8 +58,8 @@ "CWE-22" ], "severity": "MODERATE", - "github_reviewed": false, - "github_reviewed_at": null, + "github_reviewed": true, + "github_reviewed_at": "2024-04-16T18:26:53Z", "nvd_published_at": "2024-04-16T00:15:12Z" } } \ No newline at end of file diff --git a/advisories/unreviewed/2024/04/GHSA-93c5-rj2p-w52x/GHSA-93c5-rj2p-w52x.json b/advisories/unreviewed/2024/04/GHSA-93c5-rj2p-w52x/GHSA-93c5-rj2p-w52x.json deleted file mode 100644 index f47d8d1c90b..00000000000 --- a/advisories/unreviewed/2024/04/GHSA-93c5-rj2p-w52x/GHSA-93c5-rj2p-w52x.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-93c5-rj2p-w52x", - "modified": "2024-04-16T00:30:34Z", - "published": "2024-04-16T00:30:34Z", - "aliases": [ - "CVE-2024-3575" - ], - "details": "Cross-site Scripting (XSS) - Stored in mindsdb/mindsdb", - "severity": [ - { - "type": "CVSS_V3", - "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N" - } - ], - "affected": [ - - ], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-3575" - }, - { - "type": "WEB", - "url": "https://huntr.com/bounties/5f720b48-ddeb-4f2a-830f-a3dd15d5daa2" - } - ], - "database_specific": { - "cwe_ids": [ - "CWE-79" - ], - "severity": "MODERATE", - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2024-04-16T00:15:12Z" - } -} \ No newline at end of file