SCA: security update for langchain, langchain-community (GHSA-45pg-36p6-83v9)

low Tenable Self-Hosted Container Security Plugin ID 409965

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/langchain version 0.2.5 allows for SQL
injection through prompt injection. This vulnerability can lead to 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-8309)

See Also

https://github.com/advisories/GHSA-45pg-36p6-83v9

Plugin Details

Severity: Low

ID: 409965

Version: Revision 1.7

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-8309

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-8309