CVE-2024-52336: Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root
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.
Security readout for executives and security teams
Plain-English summary
CVE-2024-52336 lets a local, non-administrator Linux user abuse Tuned to run attacker-controlled scripts as root. This is a privilege-escalation issue, not a remote internet exploit. Business risk is highest on shared servers, developer systems, and environments where untrusted users can log in.
Executive priority
Prioritize patching on multi-user servers and systems where contractors, developers, or service accounts have shell access. Remote-only exposure is not indicated, but successful abuse can give full root control on affected hosts.
Technical view
Tuned’s unauthenticated local D-Bus instance_create() path accepts script_pre and script_post options. Those options can reference arbitrary executable paths, which Tuned may execute with root privileges. Red Hat rates this High, CVSS 7.8, with low attack complexity and required local privileges.
Likely exposure
Affected exposure is primarily Red Hat systems listed as affected for tuned, including RHEL 9, RHEL 10, and Fast Datapath variants for RHEL 8 and 9. RHEL 6, 7, and standard RHEL 8 are listed as unaffected in the provided data.
Exploitation context
The attacker needs local access as a non-privileged user. No user interaction is required after that. The CVE is not in CISA KEV, and the provided sources do not state active exploitation in the wild.
Researcher notes
Public discussion exists from openSUSE and oss-security, and Red Hat tracks the issue as RHBZ#2324540. Distro impact differs, so validate against vendor advisories rather than assuming all tuned deployments are affected.
Mitigation direction
Apply the relevant Red Hat security errata for affected systems.
Upgrade tuned to a vendor-fixed version, including 2.24.1 where applicable.
Restrict local shell access on affected systems until patched.
Check distribution-specific vendor guidance before assuming impact or fixes.
Validation and detection
Inventory systems with the tuned package installed.
Compare installed package versions against Red Hat’s affected product list.
Confirm RHSA-2024:10384, RHSA-2025:0879, or RHSA-2025:0880 is applied where relevant.
Review tuned-related local activity for unexpected configuration changes.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-269: Authorization and privilege behavior lookup
Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
5Timeline events
2ADP providers
10Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-269 · source CWE mapping
Improper Privilege Management
Improper Privilege Management represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.