Upstream information
Description
The urwid web display backend (urwid/display/web.py) generates web session identifiers (urwid_id) in Screen.start() by concatenating two random.randrange(10**9) calls that use Python's Mersenne Twister PRNG, which is not cryptographically secure. Each call consumes approximately 30 bits of PRNG state, and the Mersenne Twister internal state is approximately 19,937 bits, so an attacker who observes approximately 334 session IDs (for example via the X-Urwid-ID HTTP response header) can fully reconstruct the internal state and predict all past and future session IDs (Path B). The same identifier is also used as the filename of a FIFO created in the world-listable /tmp directory (for example /tmp/urwid375487765176907690.in), so any local user on the host can list /tmp to enumerate active session tokens directly (Path A). With a valid session ID, an attacker can read the victim's terminal screen via the polling endpoint, inject keystrokes into the victim's session (yielding OS-level code execution with the session owner's privileges if the session runs a shell), and inject exit sequences or flood the FIFO to terminate or crash the session. A prior Bandit S311 warning on this usage was suppressed with # noqa: S311 rather than fixedOther Security Trackers
SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having important severity.
| CVSS detail | CNA (VulnCheck) | SUSE |
|---|---|---|
| Base Score | 8.1 | 8.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Attack Vector | Network | Network |
| Attack Complexity | High | High |
| Privileges Required | None | None |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | High | High |
| Integrity Impact | High | High |
| Availability Impact | High | High |
| CVSSv3 Version | 3.1 | 3.1 |
| CVSS detail | CNA (VulnCheck) |
|---|---|
| Base Score | 9.2 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Attack Vector | Network |
| Attack Complexity | High |
| Attack Requirements | Present |
| Privileges Required | None |
| User Interaction | None |
| Vulnerable System Confidentiality Impact | High |
| Vulnerable System Integrity Impact | High |
| Vulnerable System Availability Impact | High |
| Subsequent System Confidentiality Impact | None |
| Subsequent System Integrity Impact | None |
| Subsequent System Availability Impact | None |
| CVSSv4 Version | 4.0 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise Desktop 15 SP7 | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP7 | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP7 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | python-urwid | Affected |
| Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
| SUSE Linux Enterprise High Performance Computing 15 SP4 | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP4 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP5 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Python 3 15 SP6 | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP5 | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP4 | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP5 | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP6 | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | python-urwid | Affected |
| SUSE Manager Proxy 4.3 | python-urwid | Affected |
| SUSE Manager Proxy LTS 4.3 | python-urwid | Affected |
| SUSE Manager Retail Branch Server 4.3 | python-urwid | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | python-urwid | Affected |
| SUSE Manager Server 4.3 | python-urwid | Affected |
| SUSE Manager Server LTS 4.3 | python-urwid | Affected |
| Products past their end of life and not receiving proactive updates anymore. | ||
| HPE Helion OpenStack 8 | python-urwid | Affected |
| SUSE CaaS Platform 4.0 | python-urwid | Affected |
| SUSE Enterprise Storage 6 | python-urwid | Affected |
| SUSE Enterprise Storage 7 | python-urwid | Affected |
| SUSE Enterprise Storage 7.1 | python-urwid | Affected |
| SUSE Linux Enterprise Desktop 15 | python-urwid | Affected |
| SUSE Linux Enterprise Desktop 15 SP1 | python-urwid | Affected |
| SUSE Linux Enterprise Desktop 15 SP2 | python-urwid | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | python-urwid | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | python-urwid | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | python-urwid | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | python-urwid | Affected |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP1 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Python 2 15 SP1 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Python 2 15 SP2 | python-urwid | Affected |
| SUSE Linux Enterprise Module for Python 2 15 SP3 | python-urwid | Affected |
| SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT | python-urwid | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | python-urwid | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | python-urwid | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP1 | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP1-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP2 | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP2-BCL | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP2-ESPOS | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP2-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP3 | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP3-BCL | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP3-ESPOS | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP3-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP4 | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP4-ESPOS | python-urwid | Affected |
| SUSE Linux Enterprise Server 12 SP4-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 12-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP1 | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP1-BCL | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP2 | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP3 | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | python-urwid | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server 15-LTSS | python-urwid | Affected |
| SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP1 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | python-urwid | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | python-urwid | Affected |
| SUSE Manager Proxy 4.0 | python-urwid | Affected |
| SUSE Manager Proxy 4.1 | python-urwid | Affected |
| SUSE Manager Proxy 4.2 | python-urwid | Affected |
| SUSE Manager Retail Branch Server 4.0 | python-urwid | Affected |
| SUSE Manager Retail Branch Server 4.1 | python-urwid | Affected |
| SUSE Manager Retail Branch Server 4.2 | python-urwid | Affected |
| SUSE Manager Server 4.0 | python-urwid | Affected |
| SUSE Manager Server 4.1 | python-urwid | Affected |
| SUSE Manager Server 4.2 | python-urwid | Affected |
| SUSE OpenStack Cloud 7 | python-urwid | Affected |
| SUSE OpenStack Cloud 8 | python-urwid | Affected |
| SUSE OpenStack Cloud 9 | python-urwid | Affected |
| SUSE OpenStack Cloud Crowbar 8 | python-urwid | Affected |
| SUSE OpenStack Cloud Crowbar 9 | python-urwid | Affected |
| openSUSE Leap 15.3 | python-urwid | Affected |
| openSUSE Leap 15.4 | python-urwid | Affected |
| openSUSE Leap 15.5 | python-urwid | Affected |
| openSUSE Leap 15.6 | python-urwid | Affected |
SUSE Timeline for this CVE
CVE page created: Mon Jul 20 16:24:44 2026CVE page last modified: Mon Jul 20 17:23:28 2026