{"id":"CVE-2024-2947","title":"Cockpit: command injection when deleting a sosreport with a crafted name","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.","severity":"high","cvss":7.3,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-77"],"vendor":"Red Hat","product":"cockpit","affected":["cockpit >= 270 < *","cockpit (all versions)","cockpit (all versions)","cockpit (all versions)","cockpit","cockpit"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-08-01T17:32:00.346165Z"},"published":"2024-03-28","updated":"2026-11-05","sourceUpdated":"2026-11-05T12:17:54.091Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-2947","references":[{"url":"https://access.redhat.com/errata/RHSA-2024:3667","label":"RHSA-2024:3667"},{"url":"https://access.redhat.com/errata/RHSA-2024:3843","label":"RHSA-2024:3843"},{"url":"https://access.redhat.com/security/cve/CVE-2024-2947"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2271614","label":"RHBZ#2271614"}],"tags":["cve.org"],"epss":0.01181,"epssPercentile":0.67873,"ingestedAt":"2026-11-05T21:36:00.833Z","slug":"CVE-2024-2947","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `cockpit >= 270 < *`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit (all versions)`\n- `cockpit`\n- `cockpit`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n### Workarounds\n\nDo not remove SOS reports with strange names from the Cockpit web interface.","depth":"twilight","depthScore":40,"depthScoreParts":{"impact":40.2,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}