Name | CVE-2024-2947 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5655-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cockpit (PTS) | bullseye | 239-1 | fixed |
| bookworm | 287.1-0+deb12u3 | fixed |
| bookworm (security) | 287.1-0+deb12u2 | fixed |
| trixie | 329-1 | fixed |
| sid | 330-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
cockpit | source | buster | (not affected) | | | |
cockpit | source | bullseye | (not affected) | | | |
cockpit | source | bookworm | 287.1-0+deb12u1 | | DSA-5655-1 | |
cockpit | source | (unstable) | 314-1 | | | |
Notes
[bullseye] - cockpit <not-affected> (Vulnerable code not present)
[buster] - cockpit <not-affected> (Vulnerable code not present)
https://bugzilla.redhat.com/show_bug.cgi?id=2271614
https://github.com/cockpit-project/cockpit/pull/20232
Introduced by: https://github.com/cockpit-project/cockpit/commit/ee8f946df39779ee37071006d1d4826317f25c9a (270)
Fixed by: https://github.com/cockpit-project/cockpit/commit/9c4cc9b6df632082538b53bdc8ee9ec1c5cad4da (314)