What’s Vulnerable › Vulnerabilities
CVE-2024-2905: Rpm-ostree: world-readable /etc/shadow file
- Severity: medium (CVSS 6.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-25 · updated 2026-06-17
- Weakness: CWE-732
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.
Affected products
- Red Hat Enterprise Linux 10: all versions — fixed in 0:2025.5-1.el10
- Red Hat Enterprise Linux 9: all versions — fixed in 0:2024.3-3.el9_4
- Red Hat Enterprise Linux 9.2 Extended Update Support: all versions — fixed in 0:2023.3-2.el9_2
How to fix
Upgrade to a fixed version: Red Hat Enterprise Linux 10 0:2025.5-1.el10; Red Hat Enterprise Linux 9 0:2024.3-3.el9_4; Red Hat Enterprise Linux 9.2 Extended Update Support 0:2023.3-2.el9_2. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHBA-2025:4872
- https://access.redhat.com/errata/RHSA-2024:3401
- https://access.redhat.com/errata/RHSA-2024:3823
- https://access.redhat.com/security/cve/CVE-2024-2905
- https://bugzilla.redhat.com/show_bug.cgi?id=2271585
- https://github.com/coreos/rpm-ostree/security/advisories/GHSA-2m76-cwhg-7wv6
- https://access.redhat.com/errata/RHSA-2024:3401
- https://access.redhat.com/errata/RHSA-2024:3823
- https://access.redhat.com/security/cve/CVE-2024-2905
- https://bugzilla.redhat.com/show_bug.cgi?id=2271585
- https://github.com/coreos/rpm-ostree/security/advisories/GHSA-2m76-cwhg-7wv6
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GXY3JLZC645RGFTFWSXPCYM2VWUGIDY5/
Get alerted when CVE-2024-2905 or the next vulnerability affects your stack