Arbitrary Command Injection Affecting cockpit-ws package, versions <0:311.2-1.el9_4


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
1.18% (68th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX9-COCKPITWS-7254990
  • published14 Jun 2024
  • disclosed11 Jun 2024

Introduced: 11 Jun 2024

CVE-2024-2947  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 cockpit-ws to version 0:311.2-1.el9_4 or higher.
This issue was patched in ALSA-2024:3843.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cockpit-ws package and not the cockpit-ws package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1