SCA: security update for @langchain/community (GHSA-6m59-8fmv-m5f9)

low Tenable Self-Hosted Container Security Plugin ID 411514

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- A vulnerability in the GraphCypherQAChain class of langchain-ai/langchainjs versions 0.2.5 and all
versions with this class allows for prompt injection, leading to SQL injection. This vulnerability permits
unauthorized data manipulation, data exfiltration, denial of service (DoS) by deleting all data, breaches
in multi-tenant security environments, and data integrity issues. Attackers can create, update, or delete
nodes and relationships without proper authorization, extract sensitive data, disrupt services, access
data across different tenants, and compromise the integrity of the database. (CVE-2024-7042)

See Also

https://github.com/advisories/GHSA-6m59-8fmv-m5f9

Plugin Details

Severity: Low

ID: 411514

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-7042

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Low

Base Score: 2.1

Threat Score: 1.2

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/29/2024

Vulnerability Publication Date: 10/29/2024

Reference Information

CVE: CVE-2024-7042

cwe: CWE-89