SCA: security update for RestrictedPython (GHSA-gmj9-h825-chq2)

high Tenable Cloud Security Plugin ID 420761

Description

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

- RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a
program input into a trusted environment. Via a type confusion bug in versions of the CPython interpreter
starting in 3.11 and prior to 3.13.2 when using `try/except*`, RestrictedPython starting in version 6.0
and prior to version 8.0 could be bypassed. The issue is patched in version 8.0 of RestrictedPython by
removing support for `try/except*` clauses. No known workarounds are available. (CVE-2025-22153)

See Also

https://github.com/advisories/GHSA-gmj9-h825-chq2

Plugin Details

Severity: High

ID: 420761

Version: Revision 1.16

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

Percentile: 94.59

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2025-22153

CVSS v3

Risk Factor: High

Base Score: 7.9

Temporal Score: 6.9

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/23/2025

Vulnerability Publication Date: 1/23/2025

Reference Information

CVE: CVE-2025-22153

cwe: CWE-843