{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-2905 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-2905 is a medium-severity vulnerability in Red Hat Enterprise Linux 10, published on 25 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-2905 and fix it if it is affected.\n\nWhat it is: CVE-2024-2905 is a medium-severity vulnerability in Red Hat Enterprise Linux 10, published on 25 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-2905 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-2905/ (Markdown: https://insights.sbomify.com/CVE-2024-2905/index.md)","id":"CVE-2024-2905","markdown":"https://insights.sbomify.com/CVE-2024-2905/index.md","name":"CVE-2024-2905","record":{"aliases":["ALSA-2024:3823","AZL-42310","RHBA-2025:4872","RHSA-2024:3401","RHSA-2024:3823"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Red Hat Enterprise Linux","requires_auth":"none","summary":"Attackers can read the world-readable /etc/shadow file in default rpm-ostree builds, exposing sensitive authentication data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"description":"A security vulnerability has been discovered within rpm-ostree, pertaining to the /etc/shadow file in default builds having the world-readable bit enabled. This issue arises from the default permissions being set at a higher level than recommended, potentially exposing sensitive authentication data to unauthorized access.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_eus:9.2::appstream"],"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":"Rpm-ostree: world-readable /etc/shadow file","id":"CVE-2024-2905","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":17,"n_references":6,"next":{"headline":"WordPress Radio Player plugin \u003c= 2.0.73 - Unauthenticated Broken Access Control vulnerability","id":"CVE-2024-2906"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["2024.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree","purl":"pkg:rpm/almalinux/rpm-ostree","source":"ALSA-2024:3823"},{"ecosystem":"AlmaLinux:9","fixed":["2024.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-libs","purl":"pkg:rpm/almalinux/rpm-ostree-libs","source":"ALSA-2024:3823"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:2025.5-1.el10"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree","purl":"pkg:rpm/redhat/rpm-ostree","source":"RHBA-2025:4872"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:2025.5-1.el10"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-debuginfo","purl":"pkg:rpm/redhat/rpm-ostree-debuginfo","source":"RHBA-2025:4872"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:2025.5-1.el10"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-debugsource","purl":"pkg:rpm/redhat/rpm-ostree-debugsource","source":"RHBA-2025:4872"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:2025.5-1.el10"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-libs","purl":"pkg:rpm/redhat/rpm-ostree-libs","source":"RHBA-2025:4872"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:2025.5-1.el10"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-libs-debuginfo","purl":"pkg:rpm/redhat/rpm-ostree-libs-debuginfo","source":"RHBA-2025:4872"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2024.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree","purl":"pkg:rpm/redhat/rpm-ostree","source":"RHSA-2024:3823"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2024.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-debuginfo","purl":"pkg:rpm/redhat/rpm-ostree-debuginfo","source":"RHSA-2024:3823"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2024.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-debugsource","purl":"pkg:rpm/redhat/rpm-ostree-debugsource","source":"RHSA-2024:3823"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2024.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-libs","purl":"pkg:rpm/redhat/rpm-ostree-libs","source":"RHSA-2024:3823"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:2024.3-3.el9_4"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-libs-debuginfo","purl":"pkg:rpm/redhat/rpm-ostree-libs-debuginfo","source":"RHSA-2024:3823"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:2023.3-2.el9_2"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree","purl":"pkg:rpm/redhat/rpm-ostree","source":"RHSA-2024:3401"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:2023.3-2.el9_2"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-debuginfo","purl":"pkg:rpm/redhat/rpm-ostree-debuginfo","source":"RHSA-2024:3401"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:2023.3-2.el9_2"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-debugsource","purl":"pkg:rpm/redhat/rpm-ostree-debugsource","source":"RHSA-2024:3401"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:2023.3-2.el9_2"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-libs","purl":"pkg:rpm/redhat/rpm-ostree-libs","source":"RHSA-2024:3401"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:2023.3-2.el9_2"],"introduced":["0"],"last_affected":[],"package":"rpm-ostree-libs-debuginfo","purl":"pkg:rpm/redhat/rpm-ostree-libs-debuginfo","source":"RHSA-2024:3401"}],"prev":{"headline":"WordPress Calliope theme \u003c= 1.0.33 - Cross Site Request Forgery (CSRF) vulnerability","id":"CVE-2024-2904"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.2 Extended Update Support","Red Hat OpenShift Container Platform 4"],"published":"2024-04-25","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":"RHBA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-06","vendors":["Red Hat"]},"summary":"Attackers can read the world-readable /etc/shadow file in default rpm-ostree builds, exposing sensitive authentication data.","url":"https://insights.sbomify.com/CVE-2024-2905/"}