Vulnerability · Published Nov 26, 2024 · Assigned by redhat
CVE-2024-52336Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root
High 7.8
In plain English
A high-severity privilege mismanagement in tuned. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | tuned | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| AlmaLinux:9 | tuned-gtk | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| AlmaLinux:9 | tuned-ppd | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| AlmaLinux:9 | tuned-profiles-atomic | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| AlmaLinux:9 | tuned-profiles-cpu-partitioning | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| AlmaLinux:9 | tuned-profiles-mssql | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| AlmaLinux:9 | tuned-profiles-oracle | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| AlmaLinux:9 | tuned-profiles-postgresql | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| AlmaLinux:9 | tuned-profiles-realtime | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| AlmaLinux:9 | tuned-profiles-spectrumscale | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| AlmaLinux:9 | tuned-utils | 2.24.0-2.el9_5.alma.1 | ALSA-2024:10384 |
| Debian:13 | tuned | 2.24.1-1 | DEBIAN-CVE-2024-52336 |
| Debian:14 | tuned | 2.24.1-1 | DEBIAN-CVE-2024-52336 |
| Rocky Linux:9 | tuned | 0:2.24.0-2.el9_5 | RLSA-2024:10384 |
| Ubuntu:22.04:LTS | tuned | no fix listed | UBUNTU-CVE-2024-52336 |
| Ubuntu:24.04:LTS | tuned | no fix listed | UBUNTU-CVE-2024-52336 |
| Ubuntu:25.10 | tuned | no fix listed | UBUNTU-CVE-2024-52336 |
| Ubuntu:26.04:LTS | tuned | no fix listed | UBUNTU-CVE-2024-52336 |
| Ubuntu:26.10 | tuned | no fix listed | UBUNTU-CVE-2024-52336 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tuned | 2.23.0 – before 2.24.1 | |
| Red Hat | Fast Datapath for Red Hat Enterprise Linux 8 | see references |
| Red Hat | Fast Datapath for Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Fast Datapath for RHEL 7 | see references |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
Weakness: CWE-269 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- RHSA-2024:10384 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:0879 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:0880 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-52336 vdb-entry, x_refsource_REDHAT
- RHBZ#2324540 issue-tracking, x_refsource_REDHAT
- 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