Cockpit: command injection when deleting a sosreport with a crafted name (cockpit)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.18 % · percentile 68 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-77 — Improper Neutralization of Special Elements used in a Command
References
- https://access.redhat.com/errata/RHSA-2024:3667
- https://access.redhat.com/errata/RHSA-2024:3843
- https://access.redhat.com/security/cve/CVE-2024-2947
- https://bugzilla.redhat.com/show_bug.cgi?id=2271614
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KNG7GXOZI6QH3OIQJYAYDB3CRRGH37Q5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N3Q5SDIFACAY4VHACN5MMCMT3A53A3FB/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PIQY2HGDJW2JY27ALTS4GEVZZJJ4XQ36/
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
European references
- ENISA EUVD · EUVD-2024-27889
- GCVE · GCVE-0-2024-2947
Affected products
| Product | Versions |
|---|---|
| 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 | |
| Red Hat · Red Hat Enterprise Linux 7 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |