CVE-2024-52336 json
Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root
published last yr. modified 7d ago also EUVD-2024-46268
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
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.
Patch / fix
- redhat-performance tuned 2.24.1
- 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 Red Hat Enterprise Linux 9 0:2.24.0-2.el9_5
- tuned Debian 14, Debian 13 2.24.1-1
debian advisories DEBIAN-CVE-2024-52336
- tuned RHEL 8 2.24.0-2.1.20240819gitc082797f.el8fdp
- tuned-gtk RHEL 8 2.24.0-2.1.20240819gitc082797f.el8fdp
- tuned-ppd RHEL 8 2.24.0-2.1.20240819gitc082797f.el8fdp
- tuned-utils RHEL 8 2.24.0-2.1.20240819gitc082797f.el8fdp
- tuned-profiles-nfv RHEL 8 2.24.0-2.1.20240819gitc082797f.el8fdp
- tuned-profiles-sap RHEL 8 2.24.0-2.1.20240819gitc082797f.el8fdp
- tuned-profiles-mssql RHEL 8 2.24.0-2.1.20240819gitc082797f.el8fdp
- tuned-profiles-atomic RHEL 8 2.24.0-2.1.20240819gitc082797f.el8fdp
red hat advisories RHSA-2025:0880RHSA-2025:0879RHSA-2024:10384
- tuned openSUSE Tumbleweed 2.24.1.0+git.90c24ee-1.1
opensuse advisories openSUSE-SU-2024:14605-1
- tuned AlmaLinux 9 2.24.0-2.el9_5.alma.1
- tuned-gtk AlmaLinux 9 2.24.0-2.el9_5.alma.1
- tuned-ppd AlmaLinux 9 2.24.0-2.el9_5.alma.1
- tuned-utils AlmaLinux 9 2.24.0-2.el9_5.alma.1
- tuned-profiles-mssql AlmaLinux 9 2.24.0-2.el9_5.alma.1
- tuned-profiles-atomic AlmaLinux 9 2.24.0-2.el9_5.alma.1
- tuned-profiles-oracle AlmaLinux 9 2.24.0-2.el9_5.alma.1
- tuned-profiles-realtime AlmaLinux 9 2.24.0-2.el9_5.alma.1
almalinux advisories ALSA-2024:10384
- tuned Rocky Linux 9 2.24.0-2.el9_5
rocky linux advisories RLSA-2024:10384
- tuned Azure Linux 3.0 2.21.0-2
- tuned CBL-Mariner 2.0 2.15.0-5
azure linux advisories AZL-53600AZL-53696
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Is CVE-2024-52336 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-52336 updated cvss 7.8
tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root
-
Red Hat Enterprise Linux 10 tunedaffected: workaround, no fix available
-
Red Hat 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, tuned-utils 2.24.0-2.1.20240819gitc082797f.el8fdp, tuned-profiles-nfv 2.24.0-2.1.20240819gitc082797f.el8fdp, tuned-profiles-sap 2.24.0-2.1.20240819gitc082797f.el8fdp, +13 morefixed: vendor fix RHSA-2025:0880
-
Red Hat 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, tuned-utils 2.24.0-2.1.20240819gitc082797f.el9fdp, tuned-profiles-nfv 2.24.0-2.1.20240819gitc082797f.el9fdp, tuned-profiles-sap 2.24.0-2.1.20240819gitc082797f.el9fdp, +13 morefixed: vendor fix RHSA-2025:0879
-
Red Hat Enterprise Linux AppStream (v. 9) tuned-gtk 2.24.0-2.el9_5, tuned-ppd 2.24.0-2.el9_5, tuned-utils 2.24.0-2.el9_5, tuned-profiles-mssql 2.24.0-2.el9_5, tuned-profiles-atomic 2.24.0-2.el9_5, tuned-profiles-oracle 2.24.0-2.el9_5, +2 more 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 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 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-host 2.24.0-2.el9_5, tuned-profiles-realtime 2.24.0-2.el9_5, tuned-profiles-nfv-guest 2.24.0-2.el9_5fixed: vendor fix RHSA-2024:10384
-
Red Hat Fast Datapath for RHEL 7 tuned, tuned-gtk, tuned-utils, tuned-profiles-nfv, tuned-profiles-sap, tuned-profiles-atomic, +8 more Red Hat Enterprise Linux 6 tuned, tuned-utils Red Hat Enterprise Linux 7 tuned, tuned-gtk, tuned-utils, tuned-profiles-sap, tuned-profiles-mssql, tuned-profiles-atomic, +6 more Red Hat Enterprise Linux 8 tuned, tuned-gtk, tuned-utils, tuned-profiles-nfv, tuned-profiles-sap, tuned-profiles-mssql, +10 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- redhat-performance tuned
- Red Hat Fast Datapath for Red Hat Enterprise Linux 8
- Red Hat Fast Datapath for Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9
- 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
Classification
- Weakness
-
- CWE-269 Improper Privilege Management
References
-
access.redhat.com
/errata/RHSA-2024:10384
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:0879
vendor-advisory
-
access.redhat.com
/errata/RHSA-2025:0880
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2024-52336
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2324540
issue-tracking
- github.com /redhat-performance/tuned/releases/tag/v2.24.1
- security.opensuse.org /2024/11/26/tuned-instance-create.html
- openwall.com /lists/oss-security/2024/11/28/1
- openwall.com /lists/oss-security/2024/11/28/2
Sources
- CVE List CVE-2024-52336
- NVD CVE-2024-52336
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.