{"id":"CVE-2024-52336","aliases":["CVE-2024-52336"],"related":[],"kind":"vulnerability","state":"published","title":"Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se identificó una vulnerabilidad de inyección de scripts en el paquete Tuned. La función `instance_create()` de D-Bus puede ser invocada por usuarios que hayan iniciado sesión localmente sin autenticación. Esta falla permite que un usuario local sin privilegios ejecute una llamada de D-Bus con opciones `script_pre` o `script_post` que permiten pasar scripts arbitrarios con sus rutas absolutas. Estos scripts o programas ejecutables controlados por el usuario o el atacante podrían ser ejecutados por Tuned con privilegios de superusuario, lo que podría permitir a los atacantes una escalada de privilegios local.","source":"nvd"}],"published":"2024-11-26T15:21:13.518Z","modified":"2026-11-26T13:31:02.319Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"type":"semver","introduced":"2.23.0","fixed":"2.24.1","status":"affected"}],"package":"tuned","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.24.0-2.1.20240819gitc082797f.el8fdp","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Fast Datapath for Red Hat Enterprise Linux 8","package":"tuned","cpe":"cpe:/o:redhat:enterprise_linux:8::fastdatapath","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.24.0-2.1.20240819gitc082797f.el9fdp","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Fast Datapath for Red Hat Enterprise Linux 9","package":"tuned","cpe":"cpe:/o:redhat:enterprise_linux:9::fastdatapath","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.24.0-2.el9_5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"tuned","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.24.0-2.el9_5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"tuned","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.24.0-2.el9_5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"tuned","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.24.0-2.el9_5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"tuned","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.24.0-2.el9_5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"tuned","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.24.0-2.el9_5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"tuned","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Fast Datapath for RHEL 7","package":"tuned","cpe":"cpe:/o:redhat:enterprise_linux:7::fastdatapath","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"tuned","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"tuned","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"tuned","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"tuned","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:10384","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:0879","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:0880","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-52336","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2324540","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/redhat-performance/tuned/releases/tag/v2.24.1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://security.opensuse.org/2024/11/26/tuned-instance-create.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.openwall.com/lists/oss-security/2024/11/28/1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.openwall.com/lists/oss-security/2024/11/28/2","tags":[],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Matthias Gerstner (SUSE Security Team) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-11-26T16:22:02.290Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-52336","url":"https://www.cve.org/CVERecord?id=CVE-2024-52336","licence":"CVE Terms of Use","modified":"2026-11-26T13:31:02.319Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-52336","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52336","licence":"Public domain","modified":"2026-11-23T15:17:12.270Z"}],"updatedAt":"2026-11-26T13:37:10.751Z","epss":{"score":0.00343,"percentile":0.29784,"date":"2026-12-01T12:00:22.000Z"}}