{"id":"CVE-2024-52336","summary":"Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root","details":"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.","modified":"2026-08-12T03:51:09.831456565Z","published":"2024-11-26T15:21:13.518Z","related":["ALSA-2024:10384","openSUSE-SU-2024:14605-1"],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-269"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52336.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://github.com/redhat-performance/tuned/releases/tag/v2.24.1"},{"type":"WEB","url":"https://security.opensuse.org/2024/11/26/tuned-instance-create.html"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2024/11/28/1"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2024/11/28/2"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:10384"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:0879"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:0880"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-52336"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52336.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52336"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2324540"},{"type":"PACKAGE","url":"https://github.com/redhat-performance/tuned"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/redhat-performance/tuned","events":[{"introduced":"0b2461ee788771115203d47a10dddb7b7c650a6f"},{"fixed":"90c24eea037c7a5e9414c93f8fb3e549ed4a7b06"}],"database_specific":{"extracted_events":[{"introduced":"2.23.0"},{"fixed":"2.24.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v2.24.0","v2.24.0-rc.1","v2.23.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52336.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}