What’s Vulnerable › Vulnerabilities
CVE-2024-52336: Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-26 · updated 2026-06-26
- Weakness: CWE-269
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.
Affected products
- Red Hat Fast Datapath for Red Hat Enterprise Linux 8: all versions — fixed in 0:2.24.0-2.1.20240819gitc082797f.el8fdp
- Red Hat Fast Datapath for Red Hat Enterprise Linux 9: all versions — fixed in 0:2.24.0-2.1.20240819gitc082797f.el9fdp
- Red Hat Enterprise Linux 10: all versions
- Red Hat Enterprise Linux 9: all versions — fixed in 0:2.24.0-2.el9_5
How to fix
Upgrade to a fixed version: Red Hat Fast Datapath for Red Hat Enterprise Linux 8 0:2.24.0-2.1.20240819gitc082797f.el8fdp; Red Hat Fast Datapath for Red Hat Enterprise Linux 9 0:2.24.0-2.1.20240819gitc082797f.el9fdp; Red Hat Enterprise Linux 9 0:2.24.0-2.el9_5. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:10384
- https://access.redhat.com/errata/RHSA-2025:0879
- https://access.redhat.com/errata/RHSA-2025:0880
- https://access.redhat.com/security/cve/CVE-2024-52336
- https://bugzilla.redhat.com/show_bug.cgi?id=2324540
- https://github.com/redhat-performance/tuned/releases/tag/v2.24.1
- https://security.opensuse.org/2024/11/26/tuned-instance-create.html
- https://www.openwall.com/lists/oss-security/2024/11/28/1
- https://security.opensuse.org/2024/11/26/tuned-instance-create.html
- https://www.openwall.com/lists/oss-security/2024/11/28/2
Get alerted when CVE-2024-52336 or the next vulnerability affects your stack