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

Read the record on cve.org

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

CVSSScoreVectorSource
3.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nredhat

Weaknesses

  • CWE-732 Incorrect Permission Assignment for Critical Resource

Affected Products

ProductVersions
rpm-ostree
  • 1.2024.4Affected
Red Hat Enterprise Linux 10Red Hat
  • 0:2025.5-1.el10 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2024.3-3.el9_4 and laterNot affected
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat
  • 0:2023.3-2.el9_2 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
    Red Hat OpenShift Container Platform 4Red Hat

      References

      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.