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

CVE-2024-52336
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.30 % · percentile 23 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-269 — Improper Privilege Management

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

European references

Affected products

ProductVersions
tunedaffected 2.23.0 < 2.24.1
Red Hat · Fast Datapath for Red Hat Enterprise Linux 8unaffected 0:2.24.0-2.1.20240819gitc082797f.el8fdp < *
Red Hat · Fast Datapath for Red Hat Enterprise Linux 9unaffected 0:2.24.0-2.1.20240819gitc082797f.el9fdp < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:2.24.0-2.el9_5 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:2.24.0-2.el9_5 < *
Red Hat · Fast Datapath for RHEL 7
Red Hat · Red Hat Enterprise Linux 10
Red Hat · Red Hat Enterprise Linux 6
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 8

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD