SCA: security update for langchain (GHSA-2qmj-7962-cjq8)

critical Tenable Cloud Security Plugin ID 421658

Description

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

- An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with
os.system, exec, or eval can be used. (CVE-2023-36258)

See Also

https://github.com/advisories/GHSA-2qmj-7962-cjq8

Plugin Details

Severity: Critical

ID: 421658

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 3/28/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: Critical

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-2023-36258

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: Critical

Base Score: 9.3

Threat Score: 8.9

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/3/2023

Vulnerability Publication Date: 7/3/2023

Reference Information

CVE: CVE-2023-36258

cwe: CWE-94