Cockpit: command injection when deleting a sosreport with a crafted name
Priority LOW 36CWE-77Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-77.
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01181 67th percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | cockpit | 270 and later | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | 310.4-1.el8_10 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 311.2-1.el9_4 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 311.2-1.el9_4 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 10 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
- cockpit Vendor— Affected 270 and later Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 310.4-1.el8_10 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 311.2-1.el9_4 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 311.2-1.el9_4 Patch available CNA
- Red Hat Enterprise Linux 10 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
Remediation
Red Hat 2 advisories
- RHSA-2024:3843 Released 2024-06-11 · Red Hat rating Moderatecockpit security update
- Red Hat Enterprise Linux AppStream (v. 9) cockpit-packagekit-311.2-1.el9_4, cockpit-pcp-311.2-1.el9_4, cockpit-storaged-311.2-1.el9_4
- Red Hat Enterprise Linux BaseOS (v. 9) cockpit-311.2-1.el9_4, cockpit-bridge-311.2-1.el9_4, cockpit-doc-311.2-1.el9_4 +2
- RHSA-2024:3667 Released 2024-06-06 · Red Hat rating Moderatecockpit security update
- Red Hat Enterprise Linux BaseOS (v. 8) cockpit-310.4-1.el8_10, cockpit-bridge-310.4-1.el8_10, cockpit-doc-310.4-1.el8_10 +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:3843 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2024:3667 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:3843 |
Not affected: 2 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2024-2947
- 2026-10-03 Alias added: GHSA-8rqc-wx6q-m4qc
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-2947 · CVE Program
- CVE-2024-2947 · NVD
- FIRST EPSS
- GHSA-8rqc-wx6q-m4qc · GitHub Advisory Database · CC BY 4.0
- CVE-2024-2947 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences