CVE-2024-52336

Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root

State
Published
Severity
7.8 High
Published
Nov 26, 2024
Updated
Jun 26, 2026
Reserved
Nov 8, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-269 Improper Privilege Management

Affected Products

ProductVersions
tuned
  • 2.23.0 to before 2.24.1Affected
Fast Datapath for Red Hat Enterprise Linux 8Red Hat
  • 0:2.24.0-2.1.20240819gitc082797f.el8fdp and laterNot affected
Fast Datapath for Red Hat Enterprise Linux 9Red Hat
  • 0:2.24.0-2.1.20240819gitc082797f.el9fdp and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2.24.0-2.el9_5 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2.24.0-2.el9_5 and laterNot affected
Fast Datapath for RHEL 7Red Hat
    Red Hat Enterprise Linux 10Red Hat
      Red Hat Enterprise Linux 6Red Hat
        Red Hat Enterprise Linux 7Red Hat
          Red Hat Enterprise Linux 8Red Hat

            References

            Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.