CVE-2024-6126

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

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.

Remediation

Workaround:

  • Disable pam_env's `user_readenv` option in PAM config.

Category

3.2
CVSS
Severity: Low
CVSS 3.1 •
EPSS 0.02%
Vendor Advisory redhat.com
Affected: Red Hat Red Hat Enterprise Linux 9
Affected: Red Hat Red Hat Enterprise Linux 9
Affected: Red Hat Red Hat Enterprise Linux 7
Affected: Red Hat Red Hat Enterprise Linux 8
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-6126?
CVE-2024-6126 has been scored as a low severity vulnerability.
How to fix CVE-2024-6126?
As a workaround for remediating CVE-2024-6126: Disable pam_env's `user_readenv` option in PAM config.
Is CVE-2024-6126 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-6126 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-6126?
CVE-2024-6126 affects Red Hat Red Hat Enterprise Linux 9, Red Hat Red Hat Enterprise Linux 9, Red Hat Red Hat Enterprise Linux 7, Red Hat Red Hat Enterprise Linux 8.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.