Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-52336
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:00 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 26 Nov 2024, 15:21 UTC

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.

osv:CVE-2024-52336
Complete source record
{
  "id": "9b1e15c369f955229008a899eaef727565708a06632c7ffd5cd04de06eed63c2",
  "url": "https://osv.dev/vulnerability/CVE-2024-52336",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root",
    "summary": "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.",
    "evidence": "osv:CVE-2024-52336",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-52336",
      "aliases": [
        "CVE-2024-52336"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/redhat-performance/tuned",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0b2461ee788771115203d47a10dddb7b7c650a6f"
                },
                {
                  "fixed": "90c24eea037c7a5e9414c93f8fb3e549ed4a7b06"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.23.0"
                      },
                      {
                        "fixed": "2.24.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "90c24eea037c7a5e9414c93f8fb3e549ed4a7b06"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.24.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.24.0",
            "v2.24.0-rc.1",
            "v2.23.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52336.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.691226213Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://github.com/redhat-performance/tuned/releases/tag/v2.24.1",
        "https://security.opensuse.org/2024/11/26/tuned-instance-create.html",
        "https://www.openwall.com/lists/oss-security/2024/11/28/1",
        "https://www.openwall.com/lists/oss-security/2024/11/28/2",
        "https://access.redhat.com/errata/RHSA-2024:10384",
        "https://access.redhat.com/errata/RHSA-2025:0879",
        "https://access.redhat.com/errata/RHSA-2025:0880",
        "https://access.redhat.com/security/cve/CVE-2024-52336",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52336.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-52336",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2324540",
        "https://github.com/redhat-performance/tuned"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-269"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0:2.24.0-2.1.20240819gitc082797f.el8fdp"
                  },
                  {
                    "fixed": "0:2.24.0-2.1.20240819gitc082797f.el9fdp"
                  },
                  {
                    "fixed": "0:2.24.0-2.el9_5"
                  },
                  {
                    "fixed": "0:2.24.0-2.el9_5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52336.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-52336",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496620,
  "published_at": "2024-11-26T15:21:13.518+00:00"
}