Arbitrary Command Injection Affecting cockpit-system package, versions <0:310.4-1.el8_10


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.05% (19th 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 Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-COCKPITSYSTEM-7216347
  • published6 Jun 2024
  • disclosed11 Jun 2024

Introduced: 6 Jun 2024

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

How to fix?

Upgrade AlmaLinux:8 cockpit-system to version 0:310.4-1.el8_10 or higher.
This issue was patched in ALSA-2024:3667.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cockpit-system package and not the cockpit-system package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 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