Every CVE Search/ Get API key

CVE-2024-6126

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

3.2 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.27%Up 0.2 points since Jul 4, 2024
90%50%10%1%

What each source reports

CVE List Score used 3.2

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

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.

Record
CVE-2024-6126
CVSS 3.1
3.2 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Weakness
CWE-400
Updated
2026-11-02
EUVDEUVD-2024-47977 3.2

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.

Record
EUVD-2024-47977
CVSS 3.1
3.2 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-g6h4-j28x-38g5 3.2

A flaw was found in the cockpit package. This flaw allows an authenticated user to kill any...

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.

Record
GHSA-g6h4-j28x-38g5
CVSS 3.1
3.2 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Weakness
CWE-400
Updated
2026-11-02
NVD 3.2

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.

Record
CVE-2024-6126
CVSS 3.1
3.2 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Weakness
CWE-400
Updated
2026-11-02
OSVDEBIAN-CVE-2024-6126 3.2

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.

Record
DEBIAN-CVE-2024-6126
CVSS 3.1
3.2 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Updated
2026-11-02
OSVOESA-2024-1842 3.2

cockpit security update

Cockpit makes GNU/Linux discoverable. See Linux server in a web browser and perform system tasks with a mouse. It’s easy to start containers, administer storage, configure networks, and inspect logs with this package.

Security Fix(es):

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.(CVE-2024-6126)

Record
OESA-2024-1842
CVSS 3.1
3.2 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Updated
2026-11-02
Show 14 moreShow less
OSVRHSA-2024:9325 3.2

Red Hat Security Advisory: cockpit security update

Record
RHSA-2024:9325
CVSS 3.1
3.2 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2024-6126 3.2

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.

Record
UBUNTU-CVE-2024-6126
CVSS 3.1
3.2 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Updated
2026-11-02
OSVALSA-2024:9325 No score

Low: cockpit security update

Cockpit enables users to administer GNU/Linux servers using a web browser. It offers network configuration, log inspection, diagnostic reports, SELinux troubleshooting, interactive command-line sessions, and more.

Security Fix(es):

  • cockpit: Authenticated user can kill any process when enabling pam_env's user_readenv option (CVE-2024-6126)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2024:9325
Updated
2026-11-02
OSVCLSA-2026-1781091230 No score

cockpit: Fix of 2 CVEs

  • CVE-2026-4802: fix shell command injection via boot descriptor query string in the system logs page by quoting journalctl arguments using shlex-style single- quote escaping

  • CVE-2024-6126: fix insecure killing of session ssh-agent; include upstream follow-up commit for proper strtoul() error handling when parsing SSH_AGENT_PID

Record
CLSA-2026-1781091230
Updated
2026-11-02
OSV No score

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.

Record
CVE-2024-6126
Updated
2026-11-02
OSVMGASA-2025-0181 No score

Updated cockpit packages fix security vulnerability & bug

Mageia's internal bug: In the current version you can't login in the web interface with firefox or chromium-browser packaged by Mageia. This update fixes the issue, but it is reported that could need to reboot and clear cookies from your browser. 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 - CVE-2024-6126. Please note that you need to edit /etc/nsswitch.conf as recommended in https://bugs.mageia.org/show_bug.cgi?id=33368#c18.

Record
MGASA-2025-0181
Updated
2026-11-02
OSVopenSUSE-SU-2024:0206-1 No score

Security update for cockpit

This update for cockpit fixes the following issues:

  • new version 320:

    • pam-ssh-add: Fix insecure killing of session ssh-agent (boo#1226040, CVE-2024-6126)
  • changes in older versions:

    • Storage: Btrfs snapshots
    • Podman: Add image pull action
    • Files: Bookmark support
    • webserver: System user changes
    • Metrics: Grafana setup now prefers Valkey
  • Invalid json against the storaged manifest boo#1227299

Record
openSUSE-SU-2024:0206-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14096-1 No score

cockpit-320-1.1 on GA media

These are all security issues fixed in the cockpit-320-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14096-1
Updated
2026-11-02
OSVRLSA-2024:9325 No score

Low: cockpit security update

Cockpit enables users to administer GNU/Linux servers using a web browser. It offers network configuration, log inspection, diagnostic reports, SELinux troubleshooting, interactive command-line sessions, and more.

Security Fix(es):

  • cockpit: Authenticated user can kill any process when enabling pam_env's user_readenv option (CVE-2024-6126)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 9.5 Release Notes linked from the References section.

Record
RLSA-2024:9325
Updated
2026-11-02
OSVSUSE-SU-2024:2304-1 No score

Security update for cockpit

This update for cockpit fixes the following issues:

  • CVE-2024-6126: Fixed Integer overflow in pam_sm_close_session() (bsc#1226040).
Record
SUSE-SU-2024:2304-1
Updated
2026-11-02
OSVSUSE-SU-2024:2476-1 No score

Security update for cockpit

This update for cockpit fixes the following issues:

  • CVE-2024-6126: Fixed Integer overflow in pam_sm_close_session() (bsc#1226040).
Record
SUSE-SU-2024:2476-1
Updated
2026-11-02
OSVSUSE-SU-2024:2477-1 No score

Security update for cockpit

This update for cockpit fixes the following issues:

  • CVE-2024-6126: Fixed Integer overflow in pam_sm_close_session() (bsc#1226040).
Record
SUSE-SU-2024:2477-1
Updated
2026-11-02
OSVSUSE-SU-2024:2478-1 No score

Security update for cockpit

This update for cockpit fixes the following issues:

  • CVE-2024-6126: Fixed Integer overflow in pam_sm_close_session() (bsc#1226040).
Record
SUSE-SU-2024:2478-1
Updated
2026-11-02
OSVSUSE-SU-2024:2494-1 No score

Security update for cockpit

This update for cockpit fixes the following issues:

  • CVE-2024-6126: Fixed Integer overflow in pam_sm_close_session() (bsc#1226040).
Record
SUSE-SU-2024:2494-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cockpit
AlmaLinux:9
before 323.1-1.el9_5
323.1-1.el9_5
cockpit-bridge
AlmaLinux:9
before 323.1-1.el9_5
323.1-1.el9_5
cockpit-doc
AlmaLinux:9
before 323.1-1.el9_5
323.1-1.el9_5
cockpit-packagekit
AlmaLinux:9
before 323.1-1.el9_5
323.1-1.el9_5
cockpit-pcp
AlmaLinux:9
before 323.1-1.el9_5
323.1-1.el9_5
cockpit-storaged
AlmaLinux:9
before 323.1-1.el9_5
323.1-1.el9_5
cockpit-system
AlmaLinux:9
before 323.1-1.el9_5
323.1-1.el9_5
cockpit-ws
AlmaLinux:9
before 323.1-1.el9_5
323.1-1.el9_5
cockpit
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els2
286.2-1.el9_2.tuxcare.els2
cockpit-bridge
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els2
286.2-1.el9_2.tuxcare.els2
Show 41 moreShow less
Affected packages
PackageAffectedFixed
cockpit-doc
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els2
286.2-1.el9_2.tuxcare.els2
cockpit-packagekit
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els2
286.2-1.el9_2.tuxcare.els2
cockpit-pcp
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els2
286.2-1.el9_2.tuxcare.els2
cockpit-storaged
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els2
286.2-1.el9_2.tuxcare.els2
cockpit-system
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els2
286.2-1.el9_2.tuxcare.els2
cockpit-tests
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els2
286.2-1.el9_2.tuxcare.els2
cockpit-ws
TuxCare:AlmaLinux:9.2
before 286.2-1.el9_2.tuxcare.els2
286.2-1.el9_2.tuxcare.els2
cockpit
Debian:12
before 287.1-0+deb12u3, plus listed versions
287-1287.1-0+deb12u1287.1-0+deb12u2
287.1-0+deb12u3
cockpit
Debian:13
before 320-1
320-1
cockpit
Debian:14
before 320-1
320-1
cockpit
Mageia:9
before 338-1.6.mga9
338-1.6.mga9
cockpit
openEuler:22.03-LTS-SP3
before 178-17.oe2203sp3
178-17.oe2203sp3
cockpit
openEuler:20.03-LTS-SP4
before 178-13.oe2003sp4
178-13.oe2003sp4
cockpit
openEuler:24.03-LTS
before 309-2.oe2403
309-2.oe2403
cockpit
openEuler:22.03-LTS-SP4
before 178-17.oe2203sp4
178-17.oe2203sp4
cockpit
openEuler:22.03-LTS-SP1
before 178-17.oe2203sp1
178-17.oe2203sp1
cockpit-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit-packagekit
Red Hat:enterprise_linux:9::appstream
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit-pcp
Red Hat:enterprise_linux:9::appstream
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit-storaged
Red Hat:enterprise_linux:9::appstream
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit
Red Hat:enterprise_linux:9::baseos
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit-bridge
Red Hat:enterprise_linux:9::baseos
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit-debuginfo
Red Hat:enterprise_linux:9::baseos
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit-debugsource
Red Hat:enterprise_linux:9::baseos
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit-doc
Red Hat:enterprise_linux:9::baseos
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit-system
Red Hat:enterprise_linux:9::baseos
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit-ws
Red Hat:enterprise_linux:9::baseos
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit
Rocky Linux:9
before 0:323.1-1.el9_5
0:323.1-1.el9_5
cockpit
SUSE:Linux Enterprise Micro 5.5
before 298-150500.3.6.1
298-150500.3.6.1
cockpit
SUSE:Linux Enterprise Micro 5.2
before 251.3-150300.6.3.1
251.3-150300.6.3.1
cockpit
SUSE:Linux Enterprise Micro 5.3
before 251.3-150400.8.3.1
251.3-150400.8.3.1
cockpit
SUSE:Linux Enterprise Micro 5.1
before 195.12-150300.10.6.1
195.12-150300.10.6.1
cockpit
SUSE:Linux Enterprise Micro 5.4
before 251.3-150400.6.7.1
251.3-150400.6.7.1
cockpit
Ubuntu:18.04:LTS
All versions, plus listed versions
151-1156-1157-1158-1160-1
Show 4 moreShow less
161-1162-1163-1164-1
None known
cockpit
Ubuntu:20.04:LTS
All versions, plus listed versions
202.1-1204-1206-1207-1208-1
Show 6 moreShow less
210-1211-1212-1213-1214.1-1215-1
None known
cockpit
Ubuntu:22.04:LTS
All versions, plus listed versions
252-1256-1257-1258-1259-1
Show 6 moreShow less
260-1261-1262-1263-1264-1264-1ubuntu0.22.04.1
None known
cockpit
Ubuntu:24.04:LTS
All versions, plus listed versions
300.1-1303-1304-1305-1306-1
Show 7 moreShow less
307-1308-1309-1310.1-1311-1312-1build2314-1
None known
cockpit
SUSE:Package Hub 15 SP6
before 320-bp156.2.6.3
320-bp156.2.6.3
cockpit
openSUSE:Leap 15.6
before 320-bp156.2.6.3
320-bp156.2.6.3
cockpit
openSUSE:Tumbleweed
before 320-1.1
320-1.1

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-6126 is a low vulnerability (CVSS 3.2) in Red Hat Enterprise Linux 10, published July 3, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.27%, the 19th percentile. Fixed in cockpit 323.1-1.el9_5.

References

Show 26 moreShow less
MoveEnter Open