Skip to content

CVE-2024-23301 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.

MediumCVSS 5.5 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

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.

Upgrade path

10 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/rear(Debian 12) < 2.7+dfsg-1+deb12u1; = 2.7+dfsg-1 2.7+dfsg-1+deb12u1 Fixed
debian/rear(Debian 13) < 2.7+dfsg-1.2 2.7+dfsg-1.2 Fixed
debian/rear(Debian 14) < 2.7+dfsg-1.2 2.7+dfsg-1.2 Fixed
relax-and-recover <= 2.7 after 2.7 Fixed
ubuntu/rear(Ubuntu 22.04) < 2.6+dfsg-1+deb11u1build0.22.04.1; = 2.6+dfsg-1 2.6+dfsg-1+deb11u1build0.22.04.1 Fixed
ubuntu/rear(Ubuntu Pro 18.04) < 2.3+dfsg-1ubuntu0.1~esm1; = 2.2+dfsg-2; = 2.3+dfsg-1 2.3+dfsg-1ubuntu0.1~esm1 Fixed
ubuntu/rear(Ubuntu Pro 20.04) < 2.5+dfsg-1ubuntu0.1~esm1; = 2.5+dfsg-1 2.5+dfsg-1ubuntu0.1~esm1 Fixed
fedoraproject fedora = 39 No fix listed Versions listed
redhat enterprise linux = 8.0; = 9.0 No fix listed Versions listed
SUSE linux enterprise = 15.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/rear(Debian:12) < 2.7+dfsg-1+deb12u1 2.7+dfsg-1+deb12u1
debian/rear(Debian:12) = 2.7+dfsg-1 No fix listed
debian/rear(Debian:13) < 2.7+dfsg-1.2 2.7+dfsg-1.2
debian/rear(Debian:14) < 2.7+dfsg-1.2 2.7+dfsg-1.2
ubuntu/rear(Ubuntu:22.04) < 2.6+dfsg-1+deb11u1build0.22.04.1 2.6+dfsg-1+deb11u1build0.22.04.1
relax-and-recover <= 2.7 No fix listed
SUSE linux enterprise = 15.0 No fix listed
redhat enterprise linux = 8.0 No fix listed
redhat enterprise linux = 9.0 No fix listed
fedoraproject fedora = 39 No fix listed
ubuntu/rear(Ubuntu:Pro:18.04) < 2.3+dfsg-1ubuntu0.1~esm1 2.3+dfsg-1ubuntu0.1~esm1
ubuntu/rear(Ubuntu:Pro:18.04) = 2.2+dfsg-2 No fix listed
ubuntu/rear(Ubuntu:Pro:18.04) = 2.3+dfsg-1 No fix listed
ubuntu/rear(Ubuntu:Pro:20.04) < 2.5+dfsg-1ubuntu0.1~esm1 2.5+dfsg-1ubuntu0.1~esm1
ubuntu/rear(Ubuntu:Pro:20.04) = 2.5+dfsg-1 No fix listed
ubuntu/rear(Ubuntu:22.04) = 2.6+dfsg-1 No fix listed

References