SCA: security update for deepdiff (GHSA-mw26-5g2v-hqw3)

critical Tenable Self-Hosted Container Security Plugin ID 435191

Description

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

- DeepDiff is a project focused on Deep Difference and search of any Python data. Versions 5.0.0 through
8.6.0 are vulnerable to class pollution via the Delta class constructor, and when combined with a gadget
available in DeltaDiff, it can lead to Denial of Service and Remote Code Execution (via insecure Pickle
deserialization) exploitation. The gadget available in DeepDiff allows
`deepdiff.serialization.SAFE_TO_IMPORT` to be modified to allow dangerous classes such as posix.system,
and then perform insecure Pickle deserialization via the Delta class. This potentially allows any Python
code to be executed, given that the input to Delta is user-controlled. Depending on the application where
DeepDiff is used, this can also lead to other vulnerabilities. This is fixed in version 8.6.1.
(CVE-2025-58367)

See Also

https://github.com/advisories/GHSA-mw26-5g2v-hqw3

Plugin Details

Severity: Critical

ID: 435191

Version: Revision 1.14

Type: Local

Family: SCA Checks

Published: 9/4/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.88

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2025-58367

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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:U/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 10

Threat Score: 9.1

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/3/2025

Vulnerability Publication Date: 9/3/2025

Reference Information

CVE: CVE-2025-58367

cwe: CWE-915