CVE-2023-41039
CVE-2023-41039 · Sandbox escape via various forms of "format" in RestrictedPython
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
RestrictedPython is a restricted execution environment for Python to run untrusted code. Python's "format" functionality allows someone controlling the format string to "read" all objects accessible through recursive attribute lookup and subscription from objects he can access. This can lead to critical information disclosure. With `RestrictedPython`, the format functionality is available via the `format` and `format_map` methods of `str` (and `unicode`) (accessed either via the class or its instances) and via `string.Formatter`. All known versions of `RestrictedPython` are vulnerable. This issue has been addressed in commit `4134aedcff1` which has been included in the 5.4 and 6.2 releases. Users are advised to upgrade. There are no known workarounds for this vulnerability.
CVSS 8.3 · Hoch · EPSS 0,7% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system · python
Betroffene Produkte und Versionen
restrictedpython
- Softwareversionen
- < 5.4: Betroffen
- >= 6.0, < 6.1: Betroffen
Keine Korrektur veröffentlicht
restrictedpython Debian:12
- Softwareversionen
- 4.0~b3-3
- 6.2-1
- 8.0-1
- 8.1-1
- 8.4-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
restrictedpython Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 6.2-1
Auf 6.2-1 aktualisieren
restrictedpython Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 6.2-1
Auf 6.2-1 aktualisieren
restrictedpython PyPI
- Softwareversionen
- 3.4.2
- 3.4.3
- 3.5.0
- 3.5.1
- 3.5.2
- 3.6.0
- 3.6.0a1
- 4.0
- 4.0a1
- 4.0a2
- 4.0a3
- 4.0b1
- 4.0b2
- 4.0b3
- 4.0b4
- 4.0b5
- 4.0b6
- 4.0b7
- 4.0b8
- 5.0
- 5.1
- 5.2
- 5.2a1.dev0
- 5.3
- 5.3a1.dev0
- Betroffene Versionsbereiche
- ECOSYSTEM: < 5.4
Auf 5.4 aktualisieren
restrictedpython PyPI
- Softwareversionen
- 6.0
- 6.1
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 6.0, < 6.2
Auf 6.2 aktualisieren
restrictedpython PyPI
- Softwareversionen
- 3.4.2
- 3.4.3
- 3.5.0
- 3.5.1
- 3.5.2
- 3.6.0
- 3.6.0a1
- 4.0
- 4.0a1
- 4.0a2
- 4.0a3
- 4.0b1
- 4.0b2
- 4.0b3
- 4.0b4
- 4.0b5
- 4.0b6
- 4.0b7
- 4.0b8
- 5.0
- 5.1
- 5.2
- 5.2a1.dev0
- 5.3
- 5.3a1.dev0
- 6.0
- 6.1
- Betroffene Versionsbereiche
- GIT: < 4134aedcff17c977da7717693ed89ce56d54c120
- ECOSYSTEM: ≥ 6.0, < 6.2 ∪ < 5.4
Auf 6.2 aktualisieren; Auf 5.4 aktualisieren
restrictedpython Ubuntu:Pro:20.04:LTS
- Softwareversionen
- 4.0~b3-2
- Betroffene Versionsbereiche
- ECOSYSTEM: < 4.0~b3-2ubuntu0.1~esm1
Auf 4.0~b3-2ubuntu0.1~esm1 aktualisieren
restrictedpython Ubuntu:Pro:22.04:LTS
- Softwareversionen
- 4.0~b3-2
- 4.0~b3-2ubuntu1
- 4.0~b3-3
- Betroffene Versionsbereiche
- ECOSYSTEM: < 4.0~b3-3ubuntu0.1~esm1
Auf 4.0~b3-3ubuntu0.1~esm1 aktualisieren