cve.bz

CVE-2024-23301 Incorrect Default Permissions

5.5 mediumExploit referenceEPSS 0.3%Fix available

Medium (5.5). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
Relax-and-Recover (aka ReaR) through 2.7 creates a world-readable initrd when using GRUB_RESCUE=y. This allows local attackers to gain access to system secrets otherwise only readable by root.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-11-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-276 Incorrect Default Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-23301 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-23301?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-23301?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-23301 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
relax-and-recover:relax-and-recoverthrough 2.7
suse:linux_enterprise15.0
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0
fedoraproject:fedora39

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10rear2.4+dfsg-1+deb10u1DLA-3733-1
Debian11rear2.6+dfsg-1+deb11u1DLA-4400-1
Debian12rear2.7+dfsg-1+deb12u1DEBIAN-CVE-2024-23301
Debian13, 14rear2.7+dfsg-1.2DEBIAN-CVE-2024-23301
Ubuntu22.04:LTSrear2.6+dfsg-1+deb11u1build0.22.04.1UBUNTU-CVE-2024-23301 USN-8988-1
UbuntuPro:18.04:LTSrear2.3+dfsg-1ubuntu0.1~esm1UBUNTU-CVE-2024-23301 USN-8988-1
UbuntuPro:20.04:LTSrear2.5+dfsg-1ubuntu0.1~esm1UBUNTU-CVE-2024-23301 USN-8988-1
Red Hatenterprise_linux:8::appstreamrear0:2.6-11.el8_9RHSA-2024:1719
Red Hatenterprise_linux:9::appstreamrear0:2.6-21.el9_3RHSA-2024:1147
SUSELinux Enterprise High Availability Extension 12 SP5rear1161.16-15.3.1SUSE-SU-2024:0291-1
SUSELinux Enterprise High Availability Extension 12 SP5rear1172a1.17.2.a-5.3.1SUSE-SU-2024:0292-1
SUSELinux Enterprise High Availability Extension 12 SP5rear118a1.18.a-9.3.1SUSE-SU-2024:0190-1
SUSELinux Enterprise High Availability Extension 12 SP5rear23a2.3.a-3.9.1SUSE-SU-2024:0148-1
SUSELinux Enterprise High Availability Extension 12 SP5rear27a2.7-8.6.1SUSE-SU-2024:0135-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Availability Extension 15 SP2rear23a2.3.a-150000.9.9.1SUSE-SU-2024:0239-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise High Availability Extension 15 SP4rear27a2.7-150200.5.6.1SUSE-SU-2024:0253-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise High Availability Extension 15 SP4, Linux Enterprise High Availability Extension 15 SP5rear23a2.3.a-150300.21.3.1SUSE-SU-2024:0247-1
SUSELinux Enterprise High Availability Extension 15 SP5rear27a2.7-150500.3.3.1SUSE-SU-2024:0657-1
openSUSELeap 15.5rear23a2.3.a-150300.21.3.1SUSE-SU-2024:0247-1
openSUSELeap 15.5rear27a2.7-150500.3.3.1SUSE-SU-2024:0657-1
openSUSETumbleweedrear2.7-2.1openSUSE-SU-2024:13612-1
AlmaLinux8rear2.6-11.el8_9.alma.1ALSA-2024:1719
AlmaLinux9rear2.6-21.el9_3.almaALSA-2024:1147
Rocky Linux8rear0:2.6-11.el8_9RLSA-2024:1719
Azure Linux2rearno fix listedAZL-43810
Azure Linux3rearno fix listedAZL-44403

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A moderate security concern has been identified in Relax-and-Recover (ReaR), particularly when the non-default configuration GRUB_RESCUE=y is used within Red Hat Enterprise Linux (RHEL). This setting results in the creation of a world-readable initrd, potentially providing local attackers an avenue to access system secrets usually restricted to root privileges. It's worth noting that the default initrd created by ReaR does not contain secrets.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8rear-0:2.6-11.el8_9Fixed 2024-04-09RHSA-2024:1719
Red Hat Enterprise Linux 9rear-0:2.6-21.el9_3Fixed 2024-03-05RHSA-2024:1147
Red Hat Enterprise Linux 6rearOut of support scope
Red Hat Enterprise Linux 7rearOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-23301.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON