Skip to content
Fencer Vulns
high 7.3

CVE-2024-2947 json

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

published 2024-03-28 2 y ago modified 2026-11-05 3 d ago also EUVD-2024-27889

cvss
7.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 67%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 8 0:310.4-1.el8_10
  • Red Hat Red Hat Enterprise Linux 9 0:311.2-1.el9_4
  • cockpit Debian 12 287.1-0+deb12u1
  • cockpit Debian 14, Debian 13 314-1

debian advisories DEBIAN-CVE-2024-2947

  • cockpit RHEL 9 311.2-1.el9_4
  • cockpit-ws RHEL 9 311.2-1.el9_4
  • cockpit-pcp RHEL 9 311.2-1.el9_4
  • cockpit-bridge RHEL 9 311.2-1.el9_4
  • cockpit-system RHEL 9 311.2-1.el9_4
  • cockpit-storaged RHEL 9 311.2-1.el9_4
  • cockpit-packagekit RHEL 9 311.2-1.el9_4
  • cockpit RHEL 8 310.4-1.el8_10

red hat advisories RHSA-2024:3843RHSA-2024:3667

  • cockpit AlmaLinux 9 311.2-1.el9_4
  • cockpit-ws AlmaLinux 9 311.2-1.el9_4
  • cockpit-pcp AlmaLinux 9 311.2-1.el9_4
  • cockpit-bridge AlmaLinux 9 311.2-1.el9_4
  • cockpit-system AlmaLinux 9 311.2-1.el9_4
  • cockpit-storaged AlmaLinux 9 311.2-1.el9_4
  • cockpit-packagekit AlmaLinux 9 311.2-1.el9_4
  • cockpit AlmaLinux 8 310.4-1.el8_10

almalinux advisories ALSA-2024:3843ALSA-2024:3667

  • cockpit Rocky Linux 8 310.4-1.el8_10

rocky linux advisories RLSA-2024:3667

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-2947 updated cvss 7.3

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

  • Red Hat Enterprise Linux AppStream (v. 9) cockpit-pcp 311.2-1.el9_4, cockpit-storaged 311.2-1.el9_4, cockpit-packagekit 311.2-1.el9_4
    fixed: vendor fix “Do not remove SOS reports with strange names from the Cockpit web interface.” RHSA-2024:3843
  • Red Hat Enterprise Linux BaseOS (v. 8) cockpit 310.4-1.el8_10, cockpit-ws 310.4-1.el8_10, cockpit-bridge 310.4-1.el8_10, cockpit-system 310.4-1.el8_10
    fixed: vendor fix “Do not remove SOS reports with strange names from the Cockpit web interface.” RHSA-2024:3667
  • Red Hat Enterprise Linux BaseOS (v. 9) cockpit 311.2-1.el9_4, cockpit-ws 311.2-1.el9_4, cockpit-bridge 311.2-1.el9_4, cockpit-system 311.2-1.el9_4
    fixed: vendor fix “Do not remove SOS reports with strange names from the Cockpit web interface.” RHSA-2024:3843
  • Red Hat Enterprise Linux 7 cockpit, cockpit-ws, cockpit-bridge, cockpit-system, cockpit-machines-ovirt Red Hat Enterprise Linux 10 cockpit
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

1.18% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected products

  • 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

Classification

Weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.