CVE-2024-2905
Rpm-ostree: world-readable /etc/shadow file
- State
- Published
- Severity
- 6.2 Medium
- Published
- Apr 25, 2024
- Updated
- Nov 6, 2025
- Reserved
- Mar 26, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.2 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | redhat |
Weaknesses
- CWE-732 Incorrect Permission Assignment for Critical Resource
Affected Products
| Product | Versions |
|---|---|
rpm-ostree |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat |
References
- RHBA-2025:4872vendor-advisory
- RHSA-2024:3401vendor-advisory
- RHSA-2024:3823vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-2905vdb-entry
- RHBZ#2271585issue-tracking
- 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/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULCEMTHAQ3GRGL4G2ZQDX43A67P6UXQH/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.