{
  "threat_severity" : "Important",
  "public_date" : "2024-11-26T12:00:00Z",
  "bugzilla" : {
    "description" : "tuned: `script_pre` and `script_post` options allow to pass arbitrary scripts executed by root",
    "id" : "2324540",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2324540"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-269",
  "details" : [ "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.", "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." ],
  "statement" : "The `instance_create()` D-Bus method has been added via upstream commit cddcd233 and was first part of version tag v2.23.0. Hence, versions of Tuned before 2.23.0 are unaffected. Also, note that the initial versions already contained support for the script option parameters and the `instance_name` parameter.",
  "acknowledgement" : "Red Hat would like to thank Matthias Gerstner (SUSE Security Team) for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Fast Datapath for Red Hat Enterprise Linux 8",
    "release_date" : "2025-02-03T00:00:00Z",
    "advisory" : "RHSA-2025:0880",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8::fastdatapath",
    "package" : "tuned-0:2.24.0-2.1.20240819gitc082797f.el8fdp"
  }, {
    "product_name" : "Fast Datapath for Red Hat Enterprise Linux 9",
    "release_date" : "2025-02-03T00:00:00Z",
    "advisory" : "RHSA-2025:0879",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9::fastdatapath",
    "package" : "tuned-0:2.24.0-2.1.20240819gitc082797f.el9fdp"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-11-26T00:00:00Z",
    "advisory" : "RHSA-2024:10384",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "tuned-0:2.24.0-2.el9_5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-11-26T00:00:00Z",
    "advisory" : "RHSA-2024:10384",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "tuned-0:2.24.0-2.el9_5"
  } ],
  "package_state" : [ {
    "product_name" : "Fast Datapath for RHEL 7",
    "fix_state" : "Not affected",
    "package_name" : "tuned",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7::fastdatapath"
  }, {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Affected",
    "package_name" : "tuned",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "tuned",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "tuned",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "tuned",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-52336\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-52336\nhttps://security.opensuse.org/2024/11/26/tuned-instance-create.html\nhttps://www.openwall.com/lists/oss-security/2024/11/28/1" ],
  "name" : "CVE-2024-52336",
  "mitigation" : {
    "value" : "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
    "lang" : "en:us"
  },
  "csaw" : false
}