216.73.217.174

CVE-2024-7774

· Published 29/10/2024 13:15 · Modified 31/10/2024 15:39

Labels: CVE-2024-7774 2024-10-29CVE-2024-7774CWE-22CWE-29[email protected]

Essential information

Published
29/10/2024 13:15
Modified
31/10/2024 15:39
Author
Creator
CVSS
9.1 CRITICAL (v3.1)
CISA KEV
No
CWE
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS metrics

Description

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.

NVD status

Status
Analyzed — CVE has been recently published to the CVE List and has been received by the NVD.
Source
[email protected]
NVD
View on NVD

Affected products (CPE)

ProductCPE
langchain / langchain cpe:2.3:a:langchain:langchain:0.2.5:*:*:*:*:*:*:*

References