Skip to content
OpenAdvisories
High · 7.3 CVE-2024-2947 EUVD-2024-27889GHSA-8rqc-wx6q-m4qc

Cockpit: command injection when deleting a sosreport with a crafted name

Published Mar 28, 2024 · Updated Nov 5, 2026 · Assigned by redhat

Description

A flaw was found in Cockpit. Deleting a sosreport with a crafted name via the Cockpit web interface can lead to a command injection vulnerability, resulting in privilege escalation. This issue affects Cockpit versions 270 and newer.

Affected products

VendorProductAffectedFixed
— cockpit 270 —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 7 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cockpit 314-1 —
Debian 13 cockpit 314-1 —
Debian 12 cockpit 287.1-0+deb12u1 DSA-5655-1
ReleasePackageFixed inAdvisory
RHEL 9 cockpit +7 311.2-1.el9_4 RHSA-2024:3843
RHEL 8 cockpit +4 310.4-1.el8_10 RHSA-2024:3667

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 cockpit +7 311.2-1.el9_4 ALSA-2024:3843
AlmaLinux 8 cockpit +4 310.4-1.el8_10 ALSA-2024:3667

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 cockpit 310.4-1.el8_10 RLSA-2024:3667

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 cockpit +7 311.2-1.0.1.el9_4 ELSA-2024-3843
Oracle Linux 8 cockpit +4 310.4-1.0.1.el8_10 ELSA-2024-3667

Advisories 9

References