Search

Find a vulnerability

Search criteria ⓘ Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    2 vulnerabilities found for python-urwid by azure linux

    AZL-113110 (CVE-2026-103022)

    Vulnerability from osv_azurelinux – Published: 2026-11-06 22:17 – Updated: 2026-11-18 05:27 – Source website
    VLAI
    Summary
    CVE-2026-103022 affecting package python-urwid 2.6.14-1
    Details

    Urwid is a console user interface library for Python. Prior to 4.0.7, handle_short_request() in urwid/display/web.py performs unguarded character encoding on POST input and unguarded UTF-8 decoding on polling update socket output. A remote attacker who obtains a valid X-Urwid-ID session token can submit non-ASCII POST data that raises UnicodeEncodeError, while non-UTF-8 polling output raises UnicodeDecodeError, causing the CGI handler to return an error and terminate request processing. The POST exception path also leaves an opened file descriptor unclosed for the CGI process lifetime, so repeated requests can cause denial of service for the web display interface. This issue is fixed in version 4.0.7.

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-urwid
    pkg:rpm/azure-linux/python-urwid
    Affected: ≤ 2.6.14-1 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-urwid",
            "purl": "pkg:rpm/azure-linux/python-urwid"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "2.6.14-1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "Urwid is a console user interface library for Python. Prior to 4.0.7, handle_short_request() in urwid/display/web.py performs unguarded character encoding on POST input and unguarded UTF-8 decoding on polling update socket output. A remote attacker who obtains a valid X-Urwid-ID session token can submit non-ASCII POST data that raises UnicodeEncodeError, while non-UTF-8 polling output raises UnicodeDecodeError, causing the CGI handler to return an error and terminate request processing. The POST exception path also leaves an opened file descriptor unclosed for the CGI process lifetime, so repeated requests can cause denial of service for the web display interface. This issue is fixed in version 4.0.7.",
      "id": "AZL-113110",
      "modified": "2026-11-18T05:27:31Z",
      "published": "2026-11-06T22:17:49Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-103022"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "CVE-2026-103022 affecting package python-urwid 2.6.14-1",
      "upstream": [
        "CVE-2026-103022"
      ]
    }

    AZL-92916 (CVE-2026-9323)

    Vulnerability from osv_azurelinux – Published: 2026-07-18 14:17 – Updated: 2026-11-18 05:27 – Source website
    VLAI
    Summary
    CVE-2026-9323 affecting package python-urwid 2.6.14-1
    Details

    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 fixed

    Upstream
    References
    Impacted products
    Ecosystem Package Version
    Azure Linux:3 python-urwid
    pkg:rpm/azure-linux/python-urwid
    Affected: ≤ 2.6.14-1 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Azure Linux:3",
            "name": "python-urwid",
            "purl": "pkg:rpm/azure-linux/python-urwid"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "2.6.14-1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "details": "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\u0027s 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\u0027s terminal screen via the polling endpoint, inject keystrokes into the victim\u0027s session (yielding OS-level code execution with the session owner\u0027s 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 fixed",
      "id": "AZL-92916",
      "modified": "2026-11-18T05:27:31Z",
      "published": "2026-07-18T14:17:12Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-9323"
        }
      ],
      "schema_version": "1.7.4",
      "summary": "CVE-2026-9323 affecting package python-urwid 2.6.14-1",
      "upstream": [
        "CVE-2026-9323"
      ]
    }