Vulnerability · Published Apr 25, 2024 · Assigned by redhat
CVE-2024-2905Rpm-ostree: world-readable /etc/shadow file
Medium 6.2
In plain English
A medium-severity incorrect permission assignment in rpm-ostree. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | rpm-ostree | 2024.3-3.el9_4 | ALSA-2024:3823 |
| AlmaLinux:9 | rpm-ostree-libs | 2024.3-3.el9_4 | ALSA-2024:3823 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| rpm-ostree | 1.2024.4 | |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
Weakness: CWE-732 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- RHBA-2025:4872 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3401 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3823 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-2905 vdb-entry, x_refsource_REDHAT
- RHBZ#2271585 issue-tracking, x_refsource_REDHAT
- 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/