SCA: security update for langchain-community (GHSA-f2jm-rw3h-6phg)

high Tenable Cloud Security Plugin ID 414202

Description

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

- A vulnerability in the FAISS.deserialize_from_bytes function of langchain-ai/langchain allows for pickle
deserialization of untrusted data. This can lead to the execution of arbitrary commands via the os.system
function. The issue affects the latest version of the product. (CVE-2024-5998)

See Also

https://github.com/advisories/GHSA-f2jm-rw3h-6phg

Plugin Details

Severity: High

ID: 414202

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/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: High

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

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

CVSS Score Source: CVE-2024-5998

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

CVSS v4

Risk Factor: High

Base Score: 8.4

Threat Score: 7.1

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/17/2024

Vulnerability Publication Date: 9/17/2024

Reference Information

CVE: CVE-2024-5998

cwe: CWE-502