CVE-2024-2947
Cockpit: command injection when deleting a sosreport with a crafted name
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.3
Cockpit: command injection when deleting a sosreport with a crafted name
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.
- Record
CVE-2024-2947- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
EUVDEUVD-2024-27889
7.3
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.
- Record
EUVD-2024-27889- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-8rqc-wx6q-m4qc
7.3
A flaw was found in Cockpit. Deleting a sosreport with a crafted name via the Cockpit web...
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.
- Record
GHSA-8rqc-wx6q-m4qc- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
NVD
7.3
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.
- Record
CVE-2024-2947- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-2947
7.3
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.
- Record
DEBIAN-CVE-2024-2947- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2026-2907
8.0
cockpit security update
Cockpit makes GNU/Linux discoverable. See Linux server in a web browser and perform system tasks with a mouse. It’s easy to start containers, administer storage, configure networks, and inspect logs with this package.
Security Fix(es):
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.(CVE-2024-2947)
A flaw was found in Cockpit. This vulnerability allows a remote attacker to achieve arbitrary command execution on the host by exploiting unsanitized user-controlled parameters within crafted links in the system logs user interface (UI). An attacker can inject shell metacharacters and command substitutions into these parameters, leading to the execution of arbitrary shell commands on the affected system. This could result in a complete system compromise.(CVE-2026-4802)
- Record
OESA-2026-2907- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVOESA-2026-2908
8.0
cockpit security update
Cockpit makes GNU/Linux discoverable. See Linux server in a web browser and perform system tasks with a mouse. It’s easy to start containers, administer storage, configure networks, and inspect logs with this package.
Security Fix(es):
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.(CVE-2024-2947)
A flaw was found in Cockpit. This vulnerability allows a remote attacker to achieve arbitrary command execution on the host by exploiting unsanitized user-controlled parameters within crafted links in the system logs user interface (UI). An attacker can inject shell metacharacters and command substitutions into these parameters, leading to the execution of arbitrary shell commands on the affected system. This could result in a complete system compromise.(CVE-2026-4802)
- Record
OESA-2026-2908- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2026-3098
8.0
cockpit security update
Cockpit makes GNU/Linux discoverable. See Linux server in a web browser and perform system tasks with a mouse. It’s easy to start containers, administer storage, configure networks, and inspect logs with this package.
Security Fix(es):
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.(CVE-2024-2947)
A flaw was found in Cockpit. This vulnerability allows a remote attacker to achieve arbitrary command execution on the host by exploiting unsanitized user-controlled parameters within crafted links in the system logs user interface (UI). An attacker can inject shell metacharacters and command substitutions into these parameters, leading to the execution of arbitrary shell commands on the affected system. This could result in a complete system compromise.(CVE-2026-4802)
- Record
OESA-2026-3098- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2024:3667
7.3
Red Hat Security Advisory: cockpit security update
- Record
RHSA-2024:3667- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2024:3843
7.3
Red Hat Security Advisory: cockpit security update
- Record
RHSA-2024:3843- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2024:3667 No score
Moderate: cockpit security update
Cockpit enables users to administer GNU/Linux servers using a web browser. It offers network configuration, log inspection, diagnostic reports, SELinux troubleshooting, interactive command-line sessions, and more.
Security Fix(es):
- cockpit: command injection when deleting a sosreport with a crafted name (CVE-2024-2947)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2024:3667- Updated
- 2026-11-02
OSVALSA-2024:3843 No score
Moderate: cockpit security update
Cockpit enables users to administer GNU/Linux servers using a web browser. It offers network configuration, log inspection, diagnostic reports, SELinux troubleshooting, interactive command-line sessions, and more.
Security Fix(es):
- cockpit: command injection when deleting a sosreport with a crafted name (CVE-2024-2947)
- Record
ALSA-2024:3843- Updated
- 2026-11-02
OSVCLSA-2025-1764085222 No score
cockpit: Fix of CVE-2024-2947
- CVE-2024-2947: fix command injection vulnerability by sanitizing sosreport names during deletion
- Record
CLSA-2025-1764085222- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2024-2947- Updated
- 2026-11-02
OSVRLSA-2024:3667 No score
Moderate: cockpit security update
Cockpit enables users to administer GNU/Linux servers using a web browser. It offers network configuration, log inspection, diagnostic reports, SELinux troubleshooting, interactive command-line sessions, and more.
Security Fix(es):
- cockpit: command injection when deleting a sosreport with a crafted name (CVE-2024-2947)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2024:3667- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cockpitAlmaLinux:8 |
before 310.4-1.el8_10 | 310.4-1.el8_10 |
cockpit-bridgeAlmaLinux:8 |
before 310.4-1.el8_10 | 310.4-1.el8_10 |
cockpit-docAlmaLinux:8 |
before 310.4-1.el8_10 | 310.4-1.el8_10 |
cockpit-systemAlmaLinux:8 |
before 310.4-1.el8_10 | 310.4-1.el8_10 |
cockpit-wsAlmaLinux:8 |
before 310.4-1.el8_10 | 310.4-1.el8_10 |
cockpitAlmaLinux:9 |
before 311.2-1.el9_4 | 311.2-1.el9_4 |
cockpit-bridgeAlmaLinux:9 |
before 311.2-1.el9_4 | 311.2-1.el9_4 |
cockpit-docAlmaLinux:9 |
before 311.2-1.el9_4 | 311.2-1.el9_4 |
cockpit-packagekitAlmaLinux:9 |
before 311.2-1.el9_4 | 311.2-1.el9_4 |
cockpit-pcpAlmaLinux:9 |
before 311.2-1.el9_4 | 311.2-1.el9_4 |
Show 38 moreShow less
| Package | Affected | Fixed |
|---|---|---|
cockpit-storagedAlmaLinux:9 |
before 311.2-1.el9_4 | 311.2-1.el9_4 |
cockpit-systemAlmaLinux:9 |
before 311.2-1.el9_4 | 311.2-1.el9_4 |
cockpit-wsAlmaLinux:9 |
before 311.2-1.el9_4 | 311.2-1.el9_4 |
cockpitTuxCare:AlmaLinux:9.2 |
before 286.2-1.el9_2.tuxcare.els1 | 286.2-1.el9_2.tuxcare.els1 |
cockpit-bridgeTuxCare:AlmaLinux:9.2 |
before 286.2-1.el9_2.tuxcare.els1 | 286.2-1.el9_2.tuxcare.els1 |
cockpit-docTuxCare:AlmaLinux:9.2 |
before 286.2-1.el9_2.tuxcare.els1 | 286.2-1.el9_2.tuxcare.els1 |
cockpit-packagekitTuxCare:AlmaLinux:9.2 |
before 286.2-1.el9_2.tuxcare.els1 | 286.2-1.el9_2.tuxcare.els1 |
cockpit-pcpTuxCare:AlmaLinux:9.2 |
before 286.2-1.el9_2.tuxcare.els1 | 286.2-1.el9_2.tuxcare.els1 |
cockpit-storagedTuxCare:AlmaLinux:9.2 |
before 286.2-1.el9_2.tuxcare.els1 | 286.2-1.el9_2.tuxcare.els1 |
cockpit-systemTuxCare:AlmaLinux:9.2 |
before 286.2-1.el9_2.tuxcare.els1 | 286.2-1.el9_2.tuxcare.els1 |
cockpit-testsTuxCare:AlmaLinux:9.2 |
before 286.2-1.el9_2.tuxcare.els1 | 286.2-1.el9_2.tuxcare.els1 |
cockpit-wsTuxCare:AlmaLinux:9.2 |
before 286.2-1.el9_2.tuxcare.els1 | 286.2-1.el9_2.tuxcare.els1 |
cockpitDebian:12 |
before 287.1-0+deb12u1, plus listed versions 287-1 |
287.1-0+deb12u1 |
cockpitDebian:13 |
before 314-1 | 314-1 |
cockpitDebian:14 |
before 314-1 | 314-1 |
cockpitopenEuler:24.03-LTS-SP1 |
before 309-8.oe2403sp1 | 309-8.oe2403sp1 |
cockpitopenEuler:24.03-LTS-SP3 |
before 309-8.oe2403sp3 | 309-8.oe2403sp3 |
cockpitopenEuler:24.03-LTS-SP4 |
before 309-9.oe2403sp4 | 309-9.oe2403sp4 |
cockpitRed Hat:enterprise_linux:8::baseos |
before 0:310.4-1.el8_10 | 0:310.4-1.el8_10 |
cockpit-bridgeRed Hat:enterprise_linux:8::baseos |
before 0:310.4-1.el8_10 | 0:310.4-1.el8_10 |
cockpit-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:310.4-1.el8_10 | 0:310.4-1.el8_10 |
cockpit-debugsourceRed Hat:enterprise_linux:8::baseos |
before 0:310.4-1.el8_10 | 0:310.4-1.el8_10 |
cockpit-docRed Hat:enterprise_linux:8::baseos |
before 0:310.4-1.el8_10 | 0:310.4-1.el8_10 |
cockpit-systemRed Hat:enterprise_linux:8::baseos |
before 0:310.4-1.el8_10 | 0:310.4-1.el8_10 |
cockpit-wsRed Hat:enterprise_linux:8::baseos |
before 0:310.4-1.el8_10 | 0:310.4-1.el8_10 |
cockpit-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpit-debugsourceRed Hat:enterprise_linux:9::appstream |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpit-packagekitRed Hat:enterprise_linux:9::appstream |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpit-pcpRed Hat:enterprise_linux:9::appstream |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpit-storagedRed Hat:enterprise_linux:9::appstream |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpitRed Hat:enterprise_linux:9::baseos |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpit-bridgeRed Hat:enterprise_linux:9::baseos |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpit-debuginfoRed Hat:enterprise_linux:9::baseos |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpit-debugsourceRed Hat:enterprise_linux:9::baseos |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpit-docRed Hat:enterprise_linux:9::baseos |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpit-systemRed Hat:enterprise_linux:9::baseos |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpit-wsRed Hat:enterprise_linux:9::baseos |
before 0:311.2-1.el9_4 | 0:311.2-1.el9_4 |
cockpitRocky Linux:8 |
before 0:310.4-1.el8_10 | 0:310.4-1.el8_10 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-2947 is a high vulnerability (CVSS 7.3) in Red Hat Enterprise Linux 10, published March 28, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.18%, the 67th percentile. Fixed in cockpit 310.4-1.el8_10.
References
access.redhat.com/errata/RHSA-2024:3667
access.redhat.com/errata/RHSA-2024:3843
access.redhat.com/security/cve/CVE-2024-2947
bugzilla.redhat.com/show_bug.cgi?id=2271614
lists.fedoraproject.org/archives/list/[email protected]/message/KNG7GXOZI6QH3OIQJYAYDB3CRRGH37Q5
lists.fedoraproject.org/archives/list/[email protected]/message/N3Q5SDIFACAY4VHACN5MMCMT3A53A3FB
Show 17 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/PIQY2HGDJW2JY27ALTS4GEVZZJJ4XQ36
nvd.nist.gov/vuln/detail/CVE-2024-2947
github.com/advisories/GHSA-8rqc-wx6q-m4qc
bugzilla.redhat.com/2271614
errata.almalinux.org/8/ALSA-2024-3667.html
errata.almalinux.org/9/ALSA-2024-3843.html
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2025-1764085222.html
security-tracker.debian.org/tracker/CVE-2024-2947
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2907
nvd.nist.gov/vuln/detail/CVE-2026-4802
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2908
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3098
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_3667.json
cve.org/CVERecord?id=CVE-2024-2947
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_3843.json
errata.rockylinux.org/RLSA-2024:3667