CVE-2024-6126: Cockpit: authenticated user can kill any process when enabling pam_env's user_readenv option
Noroxi assessment
Priority: Monitor (action score 12/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.27% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: cockpit (AlmaLinux:9) 323.1-1.el9_5; cockpit-bridge (AlmaLinux:9) 323.1-1.el9_5; cockpit-doc (AlmaLinux:9) 323.1-1.el9_5.
Low priority for now. Upgrade to cockpit (AlmaLinux:9) 323.1-1.el9_5; cockpit-bridge (AlmaLinux:9) 323.1-1.el9_5; cockpit-doc (AlmaLinux:9) 323.1-1.el9_5 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 3, 2024
- Updated
- Nov 7, 2026
- EPSS
- 0.2% · 20th percentile
- CWE
- CWE-400
Report tools
Action score
12
Low priority for now.
- CVSS
- 12 / 40 · 3.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · redhat
- 3.2
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
github.com/cockpit-project/cockpit cockpit
- all versionsaffected
Red Hat Red Hat Enterprise Linux 10
- all versionsunknown
Red Hat Red Hat Enterprise Linux 7
- all versionsunknown
Red Hat Red Hat Enterprise Linux 8
- all versionsaffected
Red Hat Red Hat Enterprise Linux 9
- 0:323.1-1.el9_5 and laternot affected · rpm
- 0:323.1-1.el9_5 and laternot affected · rpm
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:9 | cockpit | before 323.1-1.el9_5 | 323.1-1.el9_5 |
| AlmaLinux:9 | cockpit-bridge | before 323.1-1.el9_5 | 323.1-1.el9_5 |
| AlmaLinux:9 | cockpit-doc | before 323.1-1.el9_5 | 323.1-1.el9_5 |
| AlmaLinux:9 | cockpit-packagekit | before 323.1-1.el9_5 | 323.1-1.el9_5 |
| AlmaLinux:9 | cockpit-pcp | before 323.1-1.el9_5 | 323.1-1.el9_5 |
| AlmaLinux:9 | cockpit-storaged | before 323.1-1.el9_5 | 323.1-1.el9_5 |
| AlmaLinux:9 | cockpit-system | before 323.1-1.el9_5 | 323.1-1.el9_5 |
| AlmaLinux:9 | cockpit-ws | before 323.1-1.el9_5 | 323.1-1.el9_5 |
| Debian:12 | cockpit | before 287.1-0+deb12u3 | 287.1-0+deb12u3 |
| Debian:13 | cockpit | before 320-1 | 320-1 |
| openSUSE:Leap 15.6 | cockpit | before 320-bp156.2.6.3 | 320-bp156.2.6.3 |
| openSUSE:Tumbleweed | cockpit | before 320-1.1 | 320-1.1 |
| Red Hat:enterprise_linux:9::appstream | cockpit-debuginfo | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| Red Hat:enterprise_linux:9::appstream | cockpit-debugsource | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| Red Hat:enterprise_linux:9::appstream | cockpit-packagekit | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| Red Hat:enterprise_linux:9::appstream | cockpit-pcp | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| Red Hat:enterprise_linux:9::appstream | cockpit-storaged | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| Red Hat:enterprise_linux:9::baseos | cockpit | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| Red Hat:enterprise_linux:9::baseos | cockpit-bridge | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| Red Hat:enterprise_linux:9::baseos | cockpit-doc | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| Red Hat:enterprise_linux:9::baseos | cockpit-system | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| Red Hat:enterprise_linux:9::baseos | cockpit-ws | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| Rocky Linux:9 | cockpit | before 0:323.1-1.el9_5 | 0:323.1-1.el9_5 |
| SUSE:Linux Enterprise Micro 5.1 | cockpit | before 195.12-150300.10.6.1 | 195.12-150300.10.6.1 |
+5
Same product
red hat: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-6409Openssh: possible remote code execution due to a race condition in signal handling affecting red hat enterprise linux 936Monitor
- CVE-2026-75092Leapp-repository: leapp-upgrade-el9toel10: leapp-upgrade-el9toel10: scan_mysql runs mysqld --validate-config as root and can load mysql-writable plugins29Monitor
- CVE-2026-92925Redis: redis: out-of-bounds read via crafted cluster bus packets28Monitor
Published before and after this one in the same product
- ← EarlierCVE-2024-1441Mar 11, 2024 · Libvirt: off-by-one error in udevlistinterfacesbystatus()22Monitor
- ← EarlierCVE-2024-28835Mar 21, 2024 · Gnutls: potential crash during chain building/verification20Monitor
- Later →CVE-2024-6501Jul 9, 2024 · Networkmanager: denial of service12Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:cockpit | 323.1-1.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:cockpit-bridge | 323.1-1.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:cockpit-doc | 323.1-1.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:cockpit-packagekit | 323.1-1.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:cockpit-pcp | 323.1-1.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:cockpit-storaged | 323.1-1.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:cockpit-system | 323.1-1.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:cockpit-ws | 323.1-1.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| debian:cockpit | 287.1-0+deb12u3 · Debian:12 | Package registry (OSV) |
| opensuse:cockpit | 320-bp156.2.6.3 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:cockpit | 0:323.1-1.el9_5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-bridge | 0:323.1-1.el9_5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-debuginfo | 0:323.1-1.el9_5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cockpit-debugsource | 0:323.1-1.el9_5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cockpit-doc | 0:323.1-1.el9_5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-packagekit | 0:323.1-1.el9_5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cockpit-pcp | 0:323.1-1.el9_5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cockpit-storaged | 0:323.1-1.el9_5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:cockpit-system | 0:323.1-1.el9_5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:cockpit-ws | 0:323.1-1.el9_5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| rocky linux:cockpit | 0:323.1-1.el9_5 · Rocky Linux:9 | Package registry (OSV) |
| suse:cockpit | 298-150500.3.6.1 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
| suse:cockpit | 320-bp156.2.6.3 · SUSE:Package Hub 15 SP6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-65016 days apartNetworkmanager: denial of service12Monitor
Not on record for this CVE: EPSS history · patch commit or PR link · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- low · the service can be disrupted
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- Low
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
nvd-secondary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.