Skip to content
Fencer Vulns
medium 6.2

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

  • rpm-ostree Azure Linux 3.0 2024.4-3

azure linux advisories AZL-42310

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

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_4
    fixed: vendor fix RHSA-2024:3823
  • Red Hat Enterprise Linux AppStream (v. 10) rpm-ostree 2025.5-1.el10, rpm-ostree-libs 2025.5-1.el10
    fixed: 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_2
    fixed: 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-libs
    not 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

Sources

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.