SCA: security update for sentry-sdk (GHSA-g92j-qhmh-64v2)

low Tenable Cloud Security Plugin ID 415011

Description

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

- sentry-sdk is the official Python SDK for Sentry.io. A bug in Sentry's Python SDK < 2.8.0 allows the
environment variables to be passed to subprocesses despite the `env={}` setting. In Python's `subprocess`
calls, all environment variables are passed to subprocesses by default. However, if you specifically do
not want them to be passed to subprocesses, you may use `env` argument in `subprocess` calls. Due to the
bug in Sentry SDK, with the Stdlib integration enabled (which is enabled by default), this expectation is
not fulfilled, and all environment variables are being passed to subprocesses instead. The issue has been
patched in pull request #3251 and is included in sentry-sdk==2.8.0. We strongly recommend upgrading to the
latest SDK version. However, if it's not possible, and if passing environment variables to child processes
poses a security risk for you, you can disable all default integrations. (CVE-2024-40647)

See Also

https://github.com/advisories/GHSA-g92j-qhmh-64v2

Plugin Details

Severity: Low

ID: 415011

Version: Revision 1.9

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

Score: 3.3

Percentile: 51.01

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Low

Base Score: 0.8

Temporal Score: 0.6

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

CVSS Score Source: CVE-2024-40647

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

CVSS v4

Risk Factor: Low

Base Score: 1.8

Threat Score: 0.2

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/18/2024

Vulnerability Publication Date: 7/18/2024

Reference Information

CVE: CVE-2024-40647

cwe: CWE-200