CVE-2024-2905 json
Rpm-ostree: world-readable /etc/shadow file
published 2024-04-25 2 y ago modified 2026-11-07 44 h ago also EUVD-2024-27849
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 10 0:2025.5-1.el10
- Red Hat Red Hat Enterprise Linux 9 0:2024.3-3.el9_4
- Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support 0:2023.3-2.el9_2
- rpm-ostree RHEL 10.0 2025.5-1.el10
- rpm-ostree-libs RHEL 10.0 2025.5-1.el10
- rpm-ostree RHEL 9 2024.3-3.el9_4
- rpm-ostree-libs RHEL 9 2024.3-3.el9_4
- rpm-ostree RHEL 9.2 EUS 2023.3-2.el9_2
- rpm-ostree-libs RHEL 9.2 EUS 2023.3-2.el9_2
red hat advisories RHBA-2025:4872RHSA-2024:3823RHSA-2024:3401
- rpm-ostree AlmaLinux 9 2024.3-3.el9_4
- rpm-ostree-libs AlmaLinux 9 2024.3-3.el9_4
almalinux advisories ALSA-2024:3823
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-2905 updated cvss 6.2
rpm-ostree: world-readable /etc/shadow file
-
Red Hat Enterprise Linux AppStream (v. 9) rpm-ostree 2024.3-3.el9_4, rpm-ostree-libs 2024.3-3.el9_4fixed: vendor fix RHSA-2024:3823
-
Red Hat Enterprise Linux AppStream (v. 10) rpm-ostree 2025.5-1.el10, rpm-ostree-libs 2025.5-1.el10fixed: vendor fix RHBA-2025:4872
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) rpm-ostree 2023.3-2.el9_2, rpm-ostree-libs 2023.3-2.el9_2fixed: vendor fix RHSA-2024:3401
-
Red Hat Enterprise Linux 8 rpm-ostree, rpm-ostree-libs Red Hat OpenShift Container Platform 4 rpm-ostree, rpm-ostree-libsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat OpenShift Container Platform 4
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
-
access.redhat.com
/errata/RHBA-2025:4872
vendor-advisory
-
access.redhat.com
/errata/RHSA-2024:3401
vendor-advisory
-
access.redhat.com
/errata/RHSA-2024:3823
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2024-2905
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2271585
issue-tracking
- github.com /coreos/rpm-ostree/security/advisories/GHSA-2m76-cwhg-7wv6
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/GXY3JLZC645RGFTFWSXPCYM2VWUGIDY5/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/ULCEMTHAQ3GRGL4G2ZQDX43A67P6UXQH/
Sources
- CVE List CVE-2024-2905
- NVD CVE-2024-2905
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.