{"id":"UBUNTU-CVE-2024-2947","details":"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.","modified":"2026-01-30T02:18:50.234780Z","published":"2024-03-28T19:15:00Z","withdrawn":"2025-07-16T05:12:05Z","related":["CVE-2024-2947"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-2947"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2271614"},{"type":"REPORT","url":"https://github.com/cockpit-project/cockpit/pull/20232"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2024-2947"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PIQY2HGDJW2JY27ALTS4GEVZZJJ4XQ36/"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KNG7GXOZI6QH3OIQJYAYDB3CRRGH37Q5/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-2947"}],"affected":[{"package":{"name":"cockpit","ecosystem":"Ubuntu:24.10","purl":"pkg:deb/ubuntu/cockpit@314-1?arch=source&distro=oracular"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"314-1"}]}],"ecosystem_specific":{"availability":"No subscription required","ubuntu_priority":"medium","binaries":[{"binary_version":"314-1","binary_name":"cockpit"},{"binary_version":"314-1","binary_name":"cockpit-bridge"},{"binary_version":"314-1","binary_name":"cockpit-bridge-dbgsym"},{"binary_version":"314-1","binary_name":"cockpit-doc"},{"binary_version":"314-1","binary_name":"cockpit-networkmanager"},{"binary_version":"314-1","binary_name":"cockpit-packagekit"},{"binary_version":"314-1","binary_name":"cockpit-pcp"},{"binary_version":"314-1","binary_name":"cockpit-pcp-dbgsym"},{"binary_version":"314-1","binary_name":"cockpit-sosreport"},{"binary_version":"314-1","binary_name":"cockpit-storaged"},{"binary_version":"314-1","binary_name":"cockpit-system"},{"binary_version":"314-1","binary_name":"cockpit-tests"},{"binary_version":"314-1","binary_name":"cockpit-tests-dbgsym"},{"binary_version":"314-1","binary_name":"cockpit-ws"},{"binary_version":"314-1","binary_name":"cockpit-ws-dbgsym"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2947.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}