What’s Vulnerable › Vulnerabilities

CVE-2024-52336: 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 scripts or programs could then be executed by Tuned with root privileges that could allow attackers to local privilege escalation.

Affected products

How to fix

Upgrade to a fixed version: 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 Enterprise Linux 9 0:2.24.0-2.el9_5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-52336 or the next vulnerability affects your stack