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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | cockpit | 323.1-1.el9_5 | ALSA-2024:9325 |
| AlmaLinux:9 | cockpit-bridge | 323.1-1.el9_5 | ALSA-2024:9325 |
| AlmaLinux:9 | cockpit-doc | 323.1-1.el9_5 | ALSA-2024:9325 |
| AlmaLinux:9 | cockpit-packagekit | 323.1-1.el9_5 | ALSA-2024:9325 |
| AlmaLinux:9 | cockpit-pcp | 323.1-1.el9_5 | ALSA-2024:9325 |
| AlmaLinux:9 | cockpit-storaged | 323.1-1.el9_5 | ALSA-2024:9325 |
| AlmaLinux:9 | cockpit-system | 323.1-1.el9_5 | ALSA-2024:9325 |
| AlmaLinux:9 | cockpit-ws | 323.1-1.el9_5 | ALSA-2024:9325 |
| Debian:12 | cockpit | 287.1-0+deb12u3 | DEBIAN-CVE-2024-6126 |
| Debian:13 | cockpit | 320-1 | DEBIAN-CVE-2024-6126 |
| Debian:14 | cockpit | 320-1 | DEBIAN-CVE-2024-6126 |
| Rocky Linux:9 | cockpit | 0:323.1-1.el9_5 | RLSA-2024:9325 |
| Ubuntu:22.04:LTS | cockpit | no fix listed | UBUNTU-CVE-2024-6126 |
| Ubuntu:24.04:LTS | cockpit | no fix listed | UBUNTU-CVE-2024-6126 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- RHSA-2024:9325 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-6126 vdb-entry, x_refsource_REDHAT
- RHBZ#2292897 issue-tracking, x_refsource_REDHAT