Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

tuned

Default version status: unaffected

  • 2.23.0 to < 2.24.1affected

Red Hat Fast Datapath for Red Hat Enterprise Linux 8

Default version status: affected

  • 0:2.24.0-2.1.20240819gitc082797f.el8fdp to < *unaffected

Red Hat Fast Datapath for Red Hat Enterprise Linux 9

Default version status: affected

  • 0:2.24.0-2.1.20240819gitc082797f.el9fdp to < *unaffected

Red Hat Red Hat Enterprise Linux 9

Default version status: affected

  • 0:2.24.0-2.el9_5 to < *unaffected

Red Hat Red Hat Enterprise Linux 9

Default version status: affected

  • 0:2.24.0-2.el9_5 to < *unaffected

Red Hat Fast Datapath for RHEL 7

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 10

Default version status: affected

Red Hat Red Hat Enterprise Linux 6

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 7

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 8

Default version status: unaffected

References