CVE-2024-47532 Affecting restrictedpython package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.05% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-RESTRICTEDPYTHON-8161946
  • published18 Mar 2025
  • disclosed30 Sept 2024

Introduced: 30 Sep 2024

CVE-2024-47532  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.04 restrictedpython.

NVD Description

Note: Versions mentioned in the description apply only to the upstream restrictedpython package and not the restrictedpython package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

RestrictedPython is a restricted execution environment for Python to run untrusted code. A user can gain access to protected (and potentially sensible) information indirectly via AttributeError.obj and the string module. The problem will be fixed in version 7.3. As a workaround, If the application does not require access to the module string, it can remove it from RestrictedPython.Utilities.utility_builtins or otherwise do not make it available in the restricted execution environment.

CVSS Base Scores

version 3.1