cve.bz

CVE-2024-6126 Uncontrolled Resource Consumption

3.2 lowEPSS 0.3%Fix available

Low (3.2). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.2 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-07-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-6126 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-6126?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-6126?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-6126 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 90:323.1-1.el9_5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cockpit287.1-0+deb12u3DEBIAN-CVE-2024-6126
Debian13, 14cockpit320-1DEBIAN-CVE-2024-6126
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 1 morecockpitno fix listedUBUNTU-CVE-2024-6126
Red Hatenterprise_linux:9::appstreamcockpit-pcp, cockpit-storaged, cockpit-debuginfo and 2 more0:323.1-1.el9_5RHSA-2024:9325
Red Hatenterprise_linux:9::baseoscockpit, cockpit-ws, cockpit-doc and 4 more0:323.1-1.el9_5RHSA-2024:9325
SUSELinux Enterprise Micro 5.1cockpit195.12-150300.10.6.1SUSE-SU-2024:2478-1
SUSELinux Enterprise Micro 5.2cockpit251.3-150300.6.3.1SUSE-SU-2024:2476-1
SUSELinux Enterprise Micro 5.3cockpit251.3-150400.8.3.1SUSE-SU-2024:2477-1
SUSELinux Enterprise Micro 5.4cockpit251.3-150400.6.7.1SUSE-SU-2024:2494-1
SUSELinux Enterprise Micro 5.5cockpit298-150500.3.6.1SUSE-SU-2024:2304-1
SUSEPackage Hub 15 SP6cockpit320-bp156.2.6.3openSUSE-SU-2024:0206-1
openSUSELeap 15.6cockpit320-bp156.2.6.3openSUSE-SU-2024:0206-1
openSUSETumbleweedcockpit320-1.1openSUSE-SU-2024:14096-1
AlmaLinux9cockpit, cockpit-ws, cockpit-doc and 5 more323.1-1.el9_5ALSA-2024:9325
Rocky Linux9cockpit0:323.1-1.el9_5RLSA-2024:9325

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's 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.

Red Hat's mitigation

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9cockpit-0:323.1-1.el9_5Fixed 2024-11-12RHSA-2024:9325
Red Hat Enterprise Linux 10cockpitNot affected
Red Hat Enterprise Linux 7cockpitOut of support scope
Red Hat Enterprise Linux 8cockpitFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-6126.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON