Skip to content

CVE-2024-52336 Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root

HighCVSS 7.8 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

Description

A script injection vulnerability was identified in the Tuned package. The instance_create() D-Bus function can be called by locally logged-in users without authentication. This flaw allows a local non-privileged user to execute a D-Bus call with script_pre or script_post options that permit arbitrary scripts with their absolute paths to be passed. These user or attacker-controlled executable scripts or programs could then be executed by Tuned with root privileges that could allow attackers to local privilege escalation.

Upgrade path

11 packages: 5 fixed, 1 partially fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/tuned(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/tuned(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/tuned(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/tuned(Ubuntu 26.10) All versions No fix listed No fix yet
redhat enterprise linux < 0:2.24.0-2.1.20240819gitc082797f.el8fdp; < 0:2.24.0-2.1.20240819gitc082797f.el9fdp; < 0:2.24.0-2.el9_5; = 7 +2 more 0:2.24.0-2.1.20240819gitc082797f.el8fdp, 0:2.24.0-2.1.20240819gitc082797f.el9fdp, 0:2.24.0-2.el9_5 Partially fixed
azure linux tuned(Azure Linux 3.0) < 2.21.0-2 2.21.0-2 Fixed
cbl-mariner tuned(CBL-Mariner 2.0) < 2.15.0-5 2.15.0-5 Fixed
debian/tuned(Debian 13) < 2.24.1-1 2.24.1-1 Fixed
debian/tuned(Debian 14) < 2.24.1-1 2.24.1-1 Fixed
tuned >= 2.23.0, < 2.24.1 2.24.1 Fixed
redhat rhel els = 6; = 7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
azure linux tuned(Azure Linux:3.0) < 2.21.0-2 2.21.0-2
cbl-mariner tuned(CBL-Mariner:2.0) < 2.15.0-5 2.15.0-5
debian/tuned(Debian:13) < 2.24.1-1 2.24.1-1
debian/tuned(Debian:14) < 2.24.1-1 2.24.1-1
ubuntu/tuned(Ubuntu:22.04) All versions No fix listed
ubuntu/tuned(Ubuntu:24.04) All versions No fix listed
ubuntu/tuned(Ubuntu:26.04) All versions No fix listed
ubuntu/tuned(Ubuntu:26.10) All versions No fix listed
tuned >= 2.23.0, < 2.24.1 2.24.1
redhat enterprise linux < 0:2.24.0-2.1.20240819gitc082797f.el8fdp 0:2.24.0-2.1.20240819gitc082797f.el8fdp
redhat enterprise linux < 0:2.24.0-2.1.20240819gitc082797f.el9fdp 0:2.24.0-2.1.20240819gitc082797f.el9fdp
redhat enterprise linux < 0:2.24.0-2.el9_5 0:2.24.0-2.el9_5
redhat enterprise linux = 7 No fix listed
redhat enterprise linux All versions No fix listed
redhat rhel els = 6 No fix listed
redhat rhel els = 7 No fix listed
redhat enterprise linux = 8 No fix listed

References