Skip to content
Fencer Vulns
low 3.2

CVE-2024-6126 json

Cockpit: authenticated user can kill any process when enabling pam_env's user_readenv option

published 2024-07-03 2 y ago modified 2026-11-07 2 d ago also EUVD-2024-47977

cvss
3.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 19%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 9 0:323.1-1.el9_5
  • cockpit Debian 12 287.1-0+deb12u3
  • cockpit Debian 14, Debian 13 320-1

debian advisories DEBIAN-CVE-2024-6126

  • cockpit RHEL 9 323.1-1.el9_5
  • cockpit-ws RHEL 9 323.1-1.el9_5
  • cockpit-pcp RHEL 9 323.1-1.el9_5
  • cockpit-bridge RHEL 9 323.1-1.el9_5
  • cockpit-system RHEL 9 323.1-1.el9_5
  • cockpit-storaged RHEL 9 323.1-1.el9_5
  • cockpit-packagekit RHEL 9 323.1-1.el9_5

red hat advisories RHSA-2024:9325

  • cockpit SLE Micro 5.4 251.3-150400.6.7.1
  • cockpit SLE Micro 5.1 195.12-150300.10.6.1
  • cockpit SLE Micro 5.3 251.3-150400.8.3.1
  • cockpit SLE Micro 5.2 251.3-150300.6.3.1
  • cockpit SLE Micro 5.5 298-150500.3.6.1

suse advisories SUSE-SU-2024:2494-1SUSE-SU-2024:2478-1SUSE-SU-2024:2477-1SUSE-SU-2024:2476-1SUSE-SU-2024:2304-1

  • cockpit Package Hub 15 SP6, openSUSE Leap 15.6 320-bp156.2.6.3
  • cockpit openSUSE Tumbleweed 320-1.1

opensuse advisories openSUSE-SU-2024:0206-1openSUSE-SU-2024:14096-1

  • cockpit AlmaLinux 9 323.1-1.el9_5
  • cockpit-ws AlmaLinux 9 323.1-1.el9_5
  • cockpit-pcp AlmaLinux 9 323.1-1.el9_5
  • cockpit-bridge AlmaLinux 9 323.1-1.el9_5
  • cockpit-system AlmaLinux 9 323.1-1.el9_5
  • cockpit-storaged AlmaLinux 9 323.1-1.el9_5
  • cockpit-packagekit AlmaLinux 9 323.1-1.el9_5

almalinux advisories ALSA-2024:9325

  • cockpit Rocky Linux 9 323.1-1.el9_5

rocky linux advisories RLSA-2024:9325

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-6126 updated cvss 3.2

cockpit: Authenticated user can kill any process when enabling pam_env's user_readenv option

  • Red Hat Enterprise Linux 7 cockpit, cockpit-ws, cockpit-bridge, cockpit-system, cockpit-machines-ovirt
    affected: workaround, no fix planned “Disable pam_env's `user_readenv` option in PAM config.”
  • Red Hat Enterprise Linux 8 cockpit, cockpit-ws, cockpit-bridge, cockpit-system
    affected: workaround, no fix available “Disable pam_env's `user_readenv` option in PAM config.”
  • Red Hat Enterprise Linux AppStream (v. 9) cockpit-pcp 323.1-1.el9_5, cockpit-storaged 323.1-1.el9_5, cockpit-packagekit 323.1-1.el9_5 Red Hat Enterprise Linux BaseOS (v. 9) cockpit 323.1-1.el9_5, cockpit-ws 323.1-1.el9_5, cockpit-bridge 323.1-1.el9_5, cockpit-system 323.1-1.el9_5
    fixed: vendor fix “Disable pam_env's `user_readenv` option in PAM config.” RHSA-2024:9325
  • Red Hat Enterprise Linux 10 cockpit
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 3.2 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L

Affected products

  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.