diff --git a/advisories/unreviewed/2024/10/GHSA-hc5w-c9f8-9cc4/GHSA-hc5w-c9f8-9cc4.json b/advisories/github-reviewed/2024/10/GHSA-hc5w-c9f8-9cc4/GHSA-hc5w-c9f8-9cc4.json similarity index 62% rename from advisories/unreviewed/2024/10/GHSA-hc5w-c9f8-9cc4/GHSA-hc5w-c9f8-9cc4.json rename to advisories/github-reviewed/2024/10/GHSA-hc5w-c9f8-9cc4/GHSA-hc5w-c9f8-9cc4.json index 1eb4feb0392..646482361dc 100644 --- a/advisories/unreviewed/2024/10/GHSA-hc5w-c9f8-9cc4/GHSA-hc5w-c9f8-9cc4.json +++ b/advisories/github-reviewed/2024/10/GHSA-hc5w-c9f8-9cc4/GHSA-hc5w-c9f8-9cc4.json @@ -1,20 +1,43 @@ { "schema_version": "1.4.0", "id": "GHSA-hc5w-c9f8-9cc4", - "modified": "2024-10-29T15:32:05Z", + "modified": "2024-10-29T19:40:07Z", "published": "2024-10-29T15:32:05Z", "aliases": [ "CVE-2024-7774" ], + "summary": "Langchain Path Traversal vulnerability", "details": "A path traversal vulnerability exists in the `getFullPath` method of langchain-ai/langchainjs version 0.2.5. This vulnerability allows attackers to save files anywhere in the filesystem, overwrite existing text files, read `.txt` files, and delete files. The vulnerability is exploited through the `setFileContent`, `getParsedFile`, and `mdelete` methods, which do not properly sanitize user input.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" + }, + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" } ], "affected": [ - + { + "package": { + "ecosystem": "npm", + "name": "langchain" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.2.19" + } + ] + } + ] + } ], "references": [ { @@ -25,6 +48,10 @@ "type": "WEB", "url": "https://github.com/langchain-ai/langchainjs/commit/a0fad77d6b569e5872bd4a9d33be0c0785e538a9" }, + { + "type": "PACKAGE", + "url": "https://github.com/langchain-ai/langchainjs" + }, { "type": "WEB", "url": "https://huntr.com/bounties/8fe40685-b714-4191-af7a-3de5e5628cee" @@ -35,8 +62,8 @@ "CWE-29" ], "severity": "MODERATE", - "github_reviewed": false, - "github_reviewed_at": null, + "github_reviewed": true, + "github_reviewed_at": "2024-10-29T19:40:07Z", "nvd_published_at": "2024-10-29T13:15:09Z" } } \ No newline at end of file