Vulnerability · Published Jul 3, 2024 · Assigned by redhat

CVE-2024-6126Cockpit: authenticated user can kill any process when enabling pam_env's user_readenv option

Low 3.2

In plain English

A low-severity uncontrolled resource consumption in cockpit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.2Low
Exploit odds (30 days)0.3%top 80.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A flaw was found in the cockpit package. This flaw allows an authenticated user to kill any process when enabling the pam_env's user_readenv option, which leads to a denial of service (DoS) attack.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9cockpit323.1-1.el9_5ALSA-2024:9325
AlmaLinux:9cockpit-bridge323.1-1.el9_5ALSA-2024:9325
AlmaLinux:9cockpit-doc323.1-1.el9_5ALSA-2024:9325
AlmaLinux:9cockpit-packagekit323.1-1.el9_5ALSA-2024:9325
AlmaLinux:9cockpit-pcp323.1-1.el9_5ALSA-2024:9325
AlmaLinux:9cockpit-storaged323.1-1.el9_5ALSA-2024:9325
AlmaLinux:9cockpit-system323.1-1.el9_5ALSA-2024:9325
AlmaLinux:9cockpit-ws323.1-1.el9_5ALSA-2024:9325
Debian:12cockpit287.1-0+deb12u3DEBIAN-CVE-2024-6126
Debian:13cockpit320-1DEBIAN-CVE-2024-6126
Debian:14cockpit320-1DEBIAN-CVE-2024-6126
Rocky Linux:9cockpit0:323.1-1.el9_5RLSA-2024:9325
Ubuntu:22.04:LTScockpitno fix listedUBUNTU-CVE-2024-6126
Ubuntu:24.04:LTScockpitno fix listedUBUNTU-CVE-2024-6126

Affected products (as reported)

VendorProductVersions
cockpit see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references

Weakness: CWE-400 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L

References