Vulnerability · Published Mar 28, 2024 · Assigned by redhat
CVE-2024-2947Cockpit: command injection when deleting a sosreport with a crafted name
High 7.3
In plain English
A high-severity command injection in cockpit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)1.2%top 32.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | cockpit | 310.4-1.el8_10 | ALSA-2024:3667 |
| AlmaLinux:9 | cockpit | 311.2-1.el9_4 | ALSA-2024:3843 |
| AlmaLinux:8 | cockpit-bridge | 310.4-1.el8_10 | ALSA-2024:3667 |
| AlmaLinux:9 | cockpit-bridge | 311.2-1.el9_4 | ALSA-2024:3843 |
| AlmaLinux:8 | cockpit-doc | 310.4-1.el8_10 | ALSA-2024:3667 |
| AlmaLinux:9 | cockpit-doc | 311.2-1.el9_4 | ALSA-2024:3843 |
| AlmaLinux:9 | cockpit-packagekit | 311.2-1.el9_4 | ALSA-2024:3843 |
| AlmaLinux:9 | cockpit-pcp | 311.2-1.el9_4 | ALSA-2024:3843 |
| AlmaLinux:9 | cockpit-storaged | 311.2-1.el9_4 | ALSA-2024:3843 |
| AlmaLinux:8 | cockpit-system | 310.4-1.el8_10 | ALSA-2024:3667 |
| AlmaLinux:9 | cockpit-system | 311.2-1.el9_4 | ALSA-2024:3843 |
| AlmaLinux:8 | cockpit-ws | 310.4-1.el8_10 | ALSA-2024:3667 |
| AlmaLinux:9 | cockpit-ws | 311.2-1.el9_4 | ALSA-2024:3843 |
| Debian:12 | cockpit | 287.1-0+deb12u1 | DEBIAN-CVE-2024-2947 |
| Debian:12 | cockpit | 287.1-0+deb12u1 | DSA-5655-1 |
| Debian:13 | cockpit | 314-1 | DEBIAN-CVE-2024-2947 |
| Debian:14 | cockpit | 314-1 | DEBIAN-CVE-2024-2947 |
| Rocky Linux:8 | cockpit | 0:310.4-1.el8_10 | RLSA-2024:3667 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cockpit | 270 – before * | |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
Weakness: CWE-77 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
References
- RHSA-2024:3667 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3843 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-2947 vdb-entry, x_refsource_REDHAT
- RHBZ#2271614 issue-tracking, x_refsource_REDHAT
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KNG7GXOZI6QH3OIQJYAYDB3CRRGH37Q5/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N3Q5SDIFACAY4VHACN5MMCMT3A53A3FB/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PIQY2HGDJW2JY27ALTS4GEVZZJJ4XQ36/ x_transferred