CVE-2024-2947

Cockpit: command injection when deleting a sosreport with a crafted name

State
Published
Severity
7.3 High
Published
Mar 28, 2024
Updated
Nov 20, 2025
Reserved
Mar 26, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')

Affected Products

ProductVersions
cockpit
  • 270 and laterAffected
Red Hat Enterprise Linux 8Red Hat
  • 0:310.4-1.el8_10 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:311.2-1.el9_4 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:311.2-1.el9_4 and laterNot affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 7Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.