Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 8 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-269.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | tuned | 2.23.0 to before 2.24.1 | 2.24.1 | Patch available | CNA |
| Red Hat | Fast Datapath for Red Hat Enterprise Linux 8 | — | 2.24.0-2.1.20240819gitc082797f.el8fdp | Patch available | CNA |
| Red Hat | Fast Datapath for Red Hat Enterprise Linux 9 | — | 2.24.0-2.1.20240819gitc082797f.el9fdp | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 2.24.0-2.el9_5 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 2.24.0-2.el9_5 | Patch available | CNA |
| Red Hat | Fast Datapath for RHEL 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 10 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | — | Not affected | CNA |
- tuned Vendor— Affected 2.23.0 to before 2.24.1 Fixed in 2.24.1 Patch available CNA
- Fast Datapath for Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 2.24.0-2.1.20240819gitc082797f.el8fdp Patch available CNA
- Fast Datapath for Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 2.24.0-2.1.20240819gitc082797f.el9fdp Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 2.24.0-2.el9_5 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 2.24.0-2.el9_5 Patch available CNA
- Fast Datapath for RHEL 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 10 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — Not affected CNA
CPE names CNA · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/o:redhat:enterprise_linux:8::fastdatapath | 8 | — | Red Hat |
| cpe:/o:redhat:enterprise_linux:9::fastdatapath | 9 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:9::appstream | 9 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:9::nfv | 9 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:9::realtime | 9 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:9::sap | 9 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:9::sap_hana | 9 | — | Red Hat |
| cpe:/o:redhat:enterprise_linux:9::baseos | 9 | — | Red Hat |
| cpe:/o:redhat:enterprise_linux:7::fastdatapath | 7 | — | Red Hat |
| cpe:/a:redhat:enterprise_linux:10 | 10 | — | Red Hat |
- cpe:/o:redhat:enterprise_linux:8::fastdatapath Versions 8 — ·Red Hat
- cpe:/o:redhat:enterprise_linux:9::fastdatapath Versions 9 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:9::appstream Versions 9 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:9::nfv Versions 9 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:9::realtime Versions 9 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:9::sap Versions 9 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:9::sap_hana Versions 9 — ·Red Hat
- cpe:/o:redhat:enterprise_linux:9::baseos Versions 9 — ·Red Hat
- cpe:/o:redhat:enterprise_linux:7::fastdatapath Versions 7 — ·Red Hat
- cpe:/a:redhat:enterprise_linux:10 Versions 10 — ·Red Hat
Remediation
- Fix · CNA tuned Fixed in 2.24.1
Red Hat 3 advisories
- RHSA-2025:0880 Released 2025-02-03 · Red Hat rating Importanttuned security update
- Fast Datapath for Red Hat Enterprise Linux 8 tuned-2.24.0-2.1.20240819gitc082797f.el8fdp, tuned-gtk-2.24.0-2.1.20240819gitc082797f.el8fdp, tuned-ppd-2.24.0-2.1.20240819gitc082797f.el8fdp +16
- RHSA-2025:0879 Released 2025-02-03 · Red Hat rating Importanttuned security update
- Fast Datapath for Red Hat Enterprise Linux 9 tuned-2.24.0-2.1.20240819gitc082797f.el9fdp, tuned-gtk-2.24.0-2.1.20240819gitc082797f.el9fdp, tuned-ppd-2.24.0-2.1.20240819gitc082797f.el9fdp +16
- RHSA-2024:10384 Released 2024-11-26 · Red Hat rating Importanttuned security update
- Red Hat Enterprise Linux AppStream (v. 9) tuned-gtk-2.24.0-2.el9_5, tuned-ppd-2.24.0-2.el9_5, tuned-profiles-atomic-2.24.0-2.el9_5 +5
- Red Hat Enterprise Linux BaseOS (v. 9) tuned-2.24.0-2.el9_5, tuned-profiles-cpu-partitioning-2.24.0-2.el9_5
- Red Hat Enterprise Linux Real Time (v. 9) tuned-profiles-realtime-2.24.0-2.el9_5
- Red Hat Enterprise Linux Real Time for NFV (v. 9) tuned-profiles-nfv-2.24.0-2.el9_5, tuned-profiles-nfv-guest-2.24.0-2.el9_5, tuned-profiles-nfv-host-2.24.0-2.el9_5 +1
- Red Hat Enterprise Linux for SAP (v. 9) tuned-profiles-sap-2.24.0-2.el9_5
- Red Hat Enterprise Linux for SAP HANA (v. 9) tuned-profiles-sap-hana-2.24.0-2.el9_5
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat Fast Datapath for Red Hat Enterprise Linux 8, Fast Datapath for Red Hat Enterprise Linux 9 and 4 more products — RHSA-2024:10384
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2024-35009 Tuned: improper sanitization of `instance_name` parameter of the `instance_create()` methodPriority LOW 25
- Advisory ·
Red Hat Fast Datapath for Red Hat Enterprise Linux 8, Fast Datapath for Red Hat Enterprise Linux 9 and 4 more products — RHSA-2025:0879
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2024-35009 Tuned: improper sanitization of `instance_name` parameter of the `instance_create()` methodPriority LOW 25
Show 1 more group
- Advisory ·
Red Hat Fast Datapath for Red Hat Enterprise Linux 8, Fast Datapath for Red Hat Enterprise Linux 9 and 4 more products — RHSA-2025:0880
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2024-35009 Tuned: improper sanitization of `instance_name` parameter of the `instance_create()` methodPriority LOW 25
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Fast Datapath for Red Hat Enterprise Linux 8 | Fixed | RHSA-2025:0880 |
| Fast Datapath for Red Hat Enterprise Linux 9 | Fixed | RHSA-2025:0879 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:10384 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:10384 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2024:10384 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2024:10384 |
| Red Hat Enterprise Linux for SAP (v. 9) | Fixed | RHSA-2024:10384 |
| Red Hat Enterprise Linux for SAP HANA (v. 9) | Fixed | RHSA-2024:10384 |
Not affected: 4 products
- Fast Datapath for RHEL 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2024-52336
- 2026-10-03 Alias added: GHSA-cfjc-m7fv-63xj
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-52336 · CVE Program
- CVE-2024-52336 · NVD
- FIRST EPSS
- GHSA-cfjc-m7fv-63xj · GitHub Advisory Database · CC BY 4.0
- CVE-2024-52336 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences