Alerts This Week
Warning Icon 1 758
Alerts This Week
Warning Icon 1 758

Ubuntu 7355-1: RestrictedPython Security Advisory Updates

ubuntu
Calendar Grey March 19, 2025
Dist Ubuntu Esm H88
Significant security updates released for RestrictedPython across multiple Ubuntu versions. Learn the details.
Several security issues were fixed in RestrictedPython.

Summary

Several security issues were fixed in RestrictedPython.

Software Description:

- restrictedpython: Restricted execution environment for Python 3

Details:

Nakul Choudhary and Robert Xiao discovered that RestrictedPython did not

properly sanitize certain inputs. An attacker could possibly use this

issue to execute arbitrary code. This issue only affected

Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-37271)

Abhishek Govindarasu, Ankush Menat and Ward Theunisse discovered that

RestrictedPython did not correctly handle certain format strings. An

attacker could possibly use this issue to leak sensitive information.

This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.

(CVE-2023-41039)

It was discovered that RestrictedPython did not correctly restrict access

to certain fields. An attacker could possibly use this issue to leak

sensitive information. (CVE-2024-47532)

It was discovered that RestrictedPython contained a type confusion

vulnerability. A...

Read the Full Advisory

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.10
   python3-restrictedpython        6.2-1ubuntu0.24.10.1

Ubuntu 24.04 LTS
   python3-restrictedpython        6.2-1ubuntu0.24.04.1~esm1
                                   Available with Ubuntu Pro

Ubuntu 22.04 LTS
   python3-restrictedpython        4.0~b3-3ubuntu0.1~esm1
                                   Available with Ubuntu Pro

Ubuntu 20.04 LTS
   python3-restrictedpython        4.0~b3-2ubuntu0.1~esm1
                                   Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

  https://ubuntu.com/security/notices/USN-7355-1

  CVE-2023-37271, CVE-2023-41039, CVE-2024-47532, CVE-2025-22153

Severity
critical
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7355-1

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here