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

Summary

CVECVE-2024-2947
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-03-28 19:15:48 UTC
Updated2026-11-24 05:18:17 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 7.3 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

EPSS: 0.011810000 probability, percentile 0.683730000 (date 2026-11-24)

Problem Types: CWE-77 | CWE-77 Improper Neutralization of Special Elements used in a Command


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
3.1CNACVSS7.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:310.4-1.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:311.2-1.el9_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:311.2-1.el9_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified

References

ReferenceSourceLinkTags
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
access.redhat.com/errata/RHSA-2024:3667 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:3843 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
bugzilla.redhat.com/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
access.redhat.com/security/cve/CVE-2024-2947 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank xcuter (NAVER Cloud Security Analysis) for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2024-03-22T00:00:00.000ZReported to Red Hat.
CNA2024-03-27T00:00:00.000ZMade public.

Workarounds

CNA: Do not remove SOS reports with strange names from the Cockpit web interface.

Legacy QID Mappings

  • 285409 Fedora Security Update for cockpit (FEDORA-2024-6065341780)
  • 6000556 Debian Security Update for cockpit (DSA 5655-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report