Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

USN-7355-1

Active Moderate

restrictedpython vulnerabilities

Published
18 Mar 2025, 23:59:57 UTC
Updated
24 Nov 2026, 09:38:00 UTC

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
CVE
CVE-2023-37271
CVE-2023-41039
CVE-2024-47532

Description

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

Read full publisher description 961 characters

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. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2025-22153)

No solution guidance was provided.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

2

Shared package data

Applies to all 2 occurrences
Ecosystem
Ubuntu:Pro:20.04:LTS
Fixed version
4.0~b3-2ubuntu0.1~esm1
  1. 1restrictedpythonSource package

    Occurrence-specific details
    Package role
    Source package

    Versions

    • 4.0~b3-2

    Affected ranges and events

    • ECOSYSTEMRepository Not supplied in this record
      • introduced: 0
      • Fixed at 4.0~b3-2ubuntu0.1~esm1
  2. 2python3-restrictedpythonBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

9
CVSS values preserved from advisory sources
ScopeVersionScoreSeveritySourceVector
ubuntu/focal3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
ubuntu/focal3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
ubuntu/focalUnknownUnknownModerateUbuntuUnknown
ubuntu/focal3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L
ubuntu/focal3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
ubuntu/focalUnknownUnknownModerateUbuntuUnknown
ubuntu/focal3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
ubuntu/focal4.0UnknownUnknownCanonicalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
ubuntu/focalUnknownUnknownModerateUbuntuUnknown

Publisher references

5

Provenance

Schema version
1.9.2
Parser version
ubuntu-osv/1
Data license
CC-BY-SA-4.0
Attribution
Canonical / Ubuntu Security Team
Severity origin
publisher

No publisher provenance records were supplied.

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected