p PatchFirst

CVE-2026-54552

CVE-2026-54552 · sh _uid does not drop supplementary groups (incomplete privilege drop)

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

sh provides Python process launching. Prior to 2.2.4, the _uid option in sh.py performs an incomplete privilege drop on Linux and Unix-like systems. When sh runs from an elevated process and launches a command with _uid set to an unprivileged user, the child changes its UID but can retain the parent process's supplementary groups because the privilege-drop sequence does not fully establish the target user's UID, primary GID, and supplementary groups. The child can therefore retain access to files or resources granted to privileged groups such as root, docker, disk, shadow, or sudo, violating the expected _uid privilege boundary. This issue is fixed in version 2.2.4.

CVSS 7.9 · Hoch · EPSS 0,2% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: system · python

Betroffene Produkte und Versionen

  • sh

    Softwareversionen
    • < 2.2.4: Betroffen

    Keine Korrektur veröffentlicht

  • python-sh Debian:12

    Softwareversionen
    • 1.14.2-1
    • 2.0.7-1
    • 2.2.1-1
    • 2.2.1-2
    • 2.4.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-sh Debian:13

    Softwareversionen
    • 2.2.1-1
    • 2.2.1-2
    • 2.4.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-sh Debian:14

    Softwareversionen
    • 2.2.1-1
    • 2.2.1-2
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.4.0-1

    Auf 2.4.0-1 aktualisieren

  • sh PyPI

    Softwareversionen
    • 0.01
    • 0.106
    • 0.107
    • 0.108
    • 1.0
    • 1.01
    • 1.02
    • 1.03
    • 1.04
    • 1.05
    • 1.06
    • 1.07
    • 1.08
    • 1.09
    • 1.10
    • 1.11
    • 1.12.0
    • 1.12.1
    • 1.12.10
    • 1.12.11
    • 1.12.12
    • 1.12.13
    • 1.12.14
    • 1.12.2
    • 1.12.3
    • 1.12.4
    • 1.12.5
    • 1.12.6
    • 1.12.7
    • 1.12.8
    • 1.12.9
    • 1.13.0
    • 1.13.1
    • 1.14.0
    • 1.14.1
    • 1.14.2
    • 1.14.3
    • 2.0.0
    • 2.0.1
    • 2.0.2
    • 2.0.3
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.7
    • 2.1.0
    • 2.2.0
    • 2.2.1
    • 2.2.2
    • 2.2.3
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.2.4

    Auf 2.2.4 aktualisieren

  • python-sh Ubuntu:16.04:LTS

    Softwareversionen
    • 1.11-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-sh Ubuntu:18.04:LTS

    Softwareversionen
    • 1.11-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-sh Ubuntu:20.04:LTS

    Softwareversionen
    • 1.12.14-2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-sh Ubuntu:22.04:LTS

    Softwareversionen
    • 1.14.1-1
    • 1.14.2-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-sh Ubuntu:24.04:LTS

    Softwareversionen
    • 1.14.2-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-sh Ubuntu:26.10

    Softwareversionen
    • 2.2.1-1
    • 2.2.1-2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-sh Ubuntu:26.04:LTS

    Softwareversionen
    • 2.2.1-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

Originalquellen

Prüfen Sie Ihren Server →