{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-52336","id":"CVE-2024-52336","title":"Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root","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","descriptionLong":"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.","published":"2024-11-26T15:21:13.518Z","updated":"2026-11-05T21:16:19.329683092Z","reserved":"2024-11-08T13:09:39.004Z","status":"PUBLISHED","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"redhat"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"redhat"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["tuned","Red Hat Fast Datapath for Red Hat Enterprise Linux 8","Red Hat Fast Datapath for Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9","Red Hat Fast Datapath for RHEL 7","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8"],"affectedProducts":[{"vendor":"","product":"tuned","defaultStatus":"unaffected","versions":[{"status":"affected","version":"2.23.0","lessThan":"2.24.1","versionType":"semver"}],"platforms":[]},{"vendor":"Red Hat","product":"Fast Datapath for Red Hat Enterprise Linux 8","defaultStatus":"affected","versions":[{"version":"0:2.24.0-2.1.20240819gitc082797f.el8fdp","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Fast Datapath for Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:2.24.0-2.1.20240819gitc082797f.el9fdp","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:2.24.0-2.el9_5","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:2.24.0-2.el9_5","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Fast Datapath for RHEL 7","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","defaultStatus":"unaffected","versions":[],"platforms":[]}],"packages":[],"cwes":["CWE-269"],"aliases":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:10384","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2025:0879","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2025:0880","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-52336","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2324540","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://github.com/redhat-performance/tuned/releases/tag/v2.24.1","tags":["web"]},{"url":"https://security.opensuse.org/2024/11/26/tuned-instance-create.html","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/11/28/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2024/11/28/2","tags":["web"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52336.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52336","tags":["advisory"]},{"url":"https://github.com/redhat-performance/tuned","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00301,"epssPercentile":0.2338,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-52336","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52336","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-52336","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-52336","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}