Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root (tuned)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.30 % · percentile 23 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-269 — Improper Privilege Management
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://www.openwall.com/lists/oss-security/2024/11/28/2
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
European references
- ENISA EUVD · EUVD-2024-46268
- GCVE · GCVE-0-2024-52336
Affected products
| Product | Versions |
|---|---|
| tuned | affected 2.23.0 < 2.24.1 |
| Red Hat · Fast Datapath for Red Hat Enterprise Linux 8 | unaffected 0:2.24.0-2.1.20240819gitc082797f.el8fdp < * |
| Red Hat · Fast Datapath for Red Hat Enterprise Linux 9 | unaffected 0:2.24.0-2.1.20240819gitc082797f.el9fdp < * |
| Red Hat · Red Hat Enterprise Linux 9 | unaffected 0:2.24.0-2.el9_5 < * |
| Red Hat · Red Hat Enterprise Linux 9 | unaffected 0:2.24.0-2.el9_5 < * |
| Red Hat · Fast Datapath for RHEL 7 | |
| Red Hat · Red Hat Enterprise Linux 10 | |
| Red Hat · Red Hat Enterprise Linux 6 | |
| Red Hat · Red Hat Enterprise Linux 7 | |
| Red Hat · Red Hat Enterprise Linux 8 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |