{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-6126 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-6126 is a low-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 3 Jul 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-6126 and fix it if it is affected.\n\nWhat it is: CVE-2024-6126 is a low-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 3 Jul 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-6126 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-6126/ (Markdown: https://insights.sbomify.com/CVE-2024-6126/index.md)","id":"CVE-2024-6126","markdown":"https://insights.sbomify.com/CVE-2024-6126/index.md","name":"CVE-2024-6126","record":{"aliases":["ALSA-2024:9325","DEBIAN-CVE-2024-6126","GHSA-g6h4-j28x-38g5","MGASA-2025-0181","OESA-2024-1842","RHSA-2024:9325","RLSA-2024:9325","SUSE-SU-2024:2304-1","SUSE-SU-2024:2476-1","SUSE-SU-2024:2477-1","SUSE-SU-2024:2478-1","SUSE-SU-2024:2494-1","UBUNTU-CVE-2024-6126","openSUSE-SU-2024:0206-1","openSUSE-SU-2024:14096-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Cockpit web console","requires_auth":"low_privilege","summary":"An authenticated user can kill arbitrary processes causing denial of service when pam_env user_readenv is enabled in Cockpit.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":3.2,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Rocky Linux:9","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Package Hub 15 SP6","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cockpit: authenticated user can kill any process when enabling pam_env's user_readenv option","id":"CVE-2024-6126","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":29,"n_references":3,"next":{"headline":"BC Security Empire Path Traversal RCE","id":"CVE-2024-6127"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/almalinux/cockpit","source":"ALSA-2024:9325"},{"ecosystem":"AlmaLinux:9","fixed":["323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-bridge","purl":"pkg:rpm/almalinux/cockpit-bridge","source":"ALSA-2024:9325"},{"ecosystem":"AlmaLinux:9","fixed":["323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-doc","purl":"pkg:rpm/almalinux/cockpit-doc","source":"ALSA-2024:9325"},{"ecosystem":"AlmaLinux:9","fixed":["323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-packagekit","purl":"pkg:rpm/almalinux/cockpit-packagekit","source":"ALSA-2024:9325"},{"ecosystem":"AlmaLinux:9","fixed":["323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-pcp","purl":"pkg:rpm/almalinux/cockpit-pcp","source":"ALSA-2024:9325"},{"ecosystem":"AlmaLinux:9","fixed":["323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-storaged","purl":"pkg:rpm/almalinux/cockpit-storaged","source":"ALSA-2024:9325"},{"ecosystem":"AlmaLinux:9","fixed":["323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-system","purl":"pkg:rpm/almalinux/cockpit-system","source":"ALSA-2024:9325"},{"ecosystem":"AlmaLinux:9","fixed":["323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-ws","purl":"pkg:rpm/almalinux/cockpit-ws","source":"ALSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-debuginfo","purl":"pkg:rpm/redhat/cockpit-debuginfo","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-debugsource","purl":"pkg:rpm/redhat/cockpit-debugsource","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-packagekit","purl":"pkg:rpm/redhat/cockpit-packagekit","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-pcp","purl":"pkg:rpm/redhat/cockpit-pcp","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-storaged","purl":"pkg:rpm/redhat/cockpit-storaged","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/redhat/cockpit","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-bridge","purl":"pkg:rpm/redhat/cockpit-bridge","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-debuginfo","purl":"pkg:rpm/redhat/cockpit-debuginfo","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-debugsource","purl":"pkg:rpm/redhat/cockpit-debugsource","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-doc","purl":"pkg:rpm/redhat/cockpit-doc","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-system","purl":"pkg:rpm/redhat/cockpit-system","source":"RHSA-2024:9325"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit-ws","purl":"pkg:rpm/redhat/cockpit-ws","source":"RHSA-2024:9325"},{"ecosystem":"Rocky Linux:9","fixed":["0:323.1-1.el9_5"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/rocky-linux/cockpit?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2024:9325"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["195.12-150300.10.6.1"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/suse/cockpit\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2024:2478-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["251.3-150300.6.3.1"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/suse/cockpit\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2024:2476-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["251.3-150400.8.3.1"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/suse/cockpit\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2024:2477-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["251.3-150400.6.7.1"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/suse/cockpit\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2024:2494-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["298-150500.3.6.1"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/suse/cockpit\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:2304-1"},{"ecosystem":"SUSE:Package Hub 15 SP6","fixed":["320-bp156.2.6.3"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/suse/cockpit\u0026distro=SUSE%20Package%20Hub%2015%20SP6","source":"openSUSE-SU-2024:0206-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["320-bp156.2.6.3"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/opensuse/cockpit\u0026distro=openSUSE%20Leap%2015.6","source":"openSUSE-SU-2024:0206-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["320-1.1"],"introduced":["0"],"last_affected":[],"package":"cockpit","purl":"pkg:rpm/opensuse/cockpit\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14096-1"}],"prev":{"headline":"Login with phone number \u003c= 1.7.34 - Insecure Password Reset Mechanism","id":"CVE-2024-6125"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9"],"published":"2024-07-03","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-21","vendors":["Red Hat"]},"summary":"An authenticated user can kill arbitrary processes causing denial of service when pam_env user_readenv is enabled in Cockpit.","url":"https://insights.sbomify.com/CVE-2024-6126/"}