CVE-2024-2947
Cockpit: command injection when deleting a sosreport with a crafted name
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.2% · top 32% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Weakness
Affected products
cockpit
- affected 270 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:310.4-1.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:311.2-1.el9_4 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:311.2-1.el9_4 – < *
Red Hat · Red Hat Enterprise Linux 10
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 7
All versions: unaffected
What to do
Workaround: Do not remove SOS reports with strange names from the Cockpit web interface.
References (7)
- RHSA-2024:3667 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3843 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2024-2947 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2271614 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KNG7GXOZI6QH3OIQJYAYDB3CRRGH37Q5/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/N3Q5SDIFACAY4VHACN5MMCMT3A53A3FB/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PIQY2HGDJW2JY27ALTS4GEVZZJJ4XQ36/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-2947)Record last updated .