What’s Vulnerable › Vulnerabilities
CVE-2024-2947: Cockpit: command injection when deleting a sosreport with a crafted name
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-28 · updated 2026-06-17
- Weakness: CWE-77
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
- Red Hat Enterprise Linux 8: all versions — fixed in 0:310.4-1.el8_10
- Red Hat Enterprise Linux 9: all versions — fixed in 0:311.2-1.el9_4
How to fix
Upgrade to a fixed version: Red Hat Enterprise Linux 8 0:310.4-1.el8_10; Red Hat Enterprise Linux 9 0:311.2-1.el9_4. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:3667
- https://access.redhat.com/errata/RHSA-2024:3843
- https://access.redhat.com/security/cve/CVE-2024-2947
- https://bugzilla.redhat.com/show_bug.cgi?id=2271614
- https://access.redhat.com/errata/RHSA-2024:3667
- https://access.redhat.com/errata/RHSA-2024:3843
- https://access.redhat.com/security/cve/CVE-2024-2947
- https://bugzilla.redhat.com/show_bug.cgi?id=2271614
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KNG7GXOZI6QH3OIQJYAYDB3CRRGH37Q5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N3Q5SDIFACAY4VHACN5MMCMT3A53A3FB/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PIQY2HGDJW2JY27ALTS4GEVZZJJ4XQ36/
Get alerted when CVE-2024-2947 or the next vulnerability affects your stack