CVE Database›Document archive›CVE-2024-6126

CVE-2024-6126

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

Loading…

Severity

Low

Red Hat Product Security

3.2

CVSS 3.1

Review impact separately from score.

Published · July 3, 2024

Updated · November 21, 2025

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.

Statement

This vulnerability requires enabling the pam_env.so's "user_readenv" option. It disabled by default in Fedora and RHEL, and marked as deprecated/unsafe. In Debian/OpenSUSE it has enabled by default.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Disable pam_env's user_readenv option in PAM config.

CVSS / CWE

CVSS 3.1 · 3.2
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L

CWE-400 · Uncontrolled Resource Consumption