Every CVE Search/ Get API key

CVE-2024-2947

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

7.3 HighFix available

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

1.18%Up 1.1 points since Mar 29, 2024
90%50%10%1%

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 HighCVSS: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 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-05
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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
cockpit
AlmaLinux:8
before 310.4-1.el8_10
310.4-1.el8_10
cockpit-bridge
AlmaLinux:8
before 310.4-1.el8_10
310.4-1.el8_10
cockpit-doc
AlmaLinux:8
before 310.4-1.el8_10
310.4-1.el8_10
cockpit-system
AlmaLinux:8
before 310.4-1.el8_10
310.4-1.el8_10
cockpit-ws
AlmaLinux:8
before 310.4-1.el8_10
310.4-1.el8_10
cockpit
AlmaLinux:9
before 311.2-1.el9_4
311.2-1.el9_4
cockpit-bridge
AlmaLinux:9
before 311.2-1.el9_4
311.2-1.el9_4
cockpit-doc
AlmaLinux:9
before 311.2-1.el9_4
311.2-1.el9_4
cockpit-packagekit
AlmaLinux:9
before 311.2-1.el9_4
311.2-1.el9_4
cockpit-pcp
AlmaLinux:9
before 311.2-1.el9_4
311.2-1.el9_4
Show 38 moreShow less
Affected packages
PackageAffectedFixed
cockpit-storaged
AlmaLinux:9
before 311.2-1.el9_4
311.2-1.el9_4
cockpit-system
AlmaLinux:9
before 311.2-1.el9_4
311.2-1.el9_4
cockpit-ws
AlmaLinux:9
before 311.2-1.el9_4
311.2-1.el9_4
cockpit
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els1
286.2-1.el9_2.tuxcare.els1
cockpit-bridge
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els1
286.2-1.el9_2.tuxcare.els1
cockpit-doc
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els1
286.2-1.el9_2.tuxcare.els1
cockpit-packagekit
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els1
286.2-1.el9_2.tuxcare.els1
cockpit-pcp
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els1
286.2-1.el9_2.tuxcare.els1
cockpit-storaged
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els1
286.2-1.el9_2.tuxcare.els1
cockpit-system
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els1
286.2-1.el9_2.tuxcare.els1
cockpit-tests
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els1
286.2-1.el9_2.tuxcare.els1
cockpit-ws
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els1
286.2-1.el9_2.tuxcare.els1
cockpit
Debian:12
before 287.1-0+deb12u1, plus listed versions
287-1
287.1-0+deb12u1
cockpit
Debian:13
before 314-1
314-1
cockpit
Debian:14
before 314-1
314-1
cockpit
openEuler:24.03-LTS-SP1
before 309-8.oe2403sp1
309-8.oe2403sp1
cockpit
openEuler:24.03-LTS-SP3
before 309-8.oe2403sp3
309-8.oe2403sp3
cockpit
openEuler:24.03-LTS-SP4
before 309-9.oe2403sp4
309-9.oe2403sp4
cockpit
Red Hat:enterprise_linux:8::baseos
before 0:310.4-1.el8_10
0:310.4-1.el8_10
cockpit-bridge
Red Hat:enterprise_linux:8::baseos
before 0:310.4-1.el8_10
0:310.4-1.el8_10
cockpit-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:310.4-1.el8_10
0:310.4-1.el8_10
cockpit-debugsource
Red Hat:enterprise_linux:8::baseos
before 0:310.4-1.el8_10
0:310.4-1.el8_10
cockpit-doc
Red Hat:enterprise_linux:8::baseos
before 0:310.4-1.el8_10
0:310.4-1.el8_10
cockpit-system
Red Hat:enterprise_linux:8::baseos
before 0:310.4-1.el8_10
0:310.4-1.el8_10
cockpit-ws
Red Hat:enterprise_linux:8::baseos
before 0:310.4-1.el8_10
0:310.4-1.el8_10
cockpit-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit-packagekit
Red Hat:enterprise_linux:9::appstream
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit-pcp
Red Hat:enterprise_linux:9::appstream
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit-storaged
Red Hat:enterprise_linux:9::appstream
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit
Red Hat:enterprise_linux:9::baseos
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit-bridge
Red Hat:enterprise_linux:9::baseos
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit-debuginfo
Red Hat:enterprise_linux:9::baseos
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit-debugsource
Red Hat:enterprise_linux:9::baseos
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit-doc
Red Hat:enterprise_linux:9::baseos
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit-system
Red Hat:enterprise_linux:9::baseos
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit-ws
Red Hat:enterprise_linux:9::baseos
before 0:311.2-1.el9_4
0:311.2-1.el9_4
cockpit
Rocky Linux:8
before 0:310.4-1.el8_10
0:310.4-1.el8_10

History

History
RecordedChangedSources
factsEUVD
first indexedCVE 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

Show 17 moreShow less
MoveEnter Open