CVSS 3.1
7.7 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NHigh (7.7) in zope restrictedpython. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in restrictedpython 5.4, 6.2.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:Nrestrictedpython (PyPI): fixed in 5.4, 6.2Explain CVE-2023-41039 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-41039?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-41039?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-41039 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| zope:restrictedpython | before 5.4 |
| zope:restrictedpython | from 6.0 before 6.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-xjw2-6jm9-rf67 | PyPI | restrictedpython | <5.4 | 5.4 |
| GHSA-xjw2-6jm9-rf67 | PyPI | restrictedpython | >=6.0 <6.2 | 6.2 |
| PYSEC-2023-159 | PyPI | restrictedpython | >=6.0 <6.2 <5.4 | 6.2, 5.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | restrictedpython | no fix listed | DEBIAN-CVE-2023-41039 |
| Debian | 13, 14 | restrictedpython | 6.2-1 | DEBIAN-CVE-2023-41039 |
| Ubuntu | Pro:20.04:LTS | restrictedpython | 4.0~b3-2ubuntu0.1~esm1 | UBUNTU-CVE-2023-41039 USN-7355-1 |
| Ubuntu | Pro:22.04:LTS | restrictedpython | 4.0~b3-3ubuntu0.1~esm1 | UBUNTU-CVE-2023-41039 USN-7355-1 |
| Ubuntu | Pro:24.04:LTS | restrictedpython | 6.2-1ubuntu0.24.04.1~esm1 | USN-7355-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).