<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2024-0338</id>
    <title>An update for tuned is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2024-12-20 09:52:52"/>
    <updated date="2024-12-20 09:52:52"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-52337" id="CVE-2024-52337" title="CVE-2024-52337 Base Score: 5.5 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-52336" id="CVE-2024-52336" title="CVE-2024-52336 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

A log spoofing flaw was found in the Tuned package due to improper sanitization of some API arguments. This flaw allows an attacker to pass a controlled sequence of characters; newlines can be inserted into the log. Instead of the _x27;evil_x27; the attacker could mimic a valid TuneD log line and trick the administrator. The quotes _x27;_x27; are usually used in TuneD logs citing raw user input, so there will always be the _x27; character ending the spoofed input, and the administrator can easily overlook this. This logged string is later used in logging and in the output of utilities, for example, `tuned-adm get_instances` or other third-party programs that use Tuned_x27;s D-Bus interface for such operations. (CVE-2024-52337)

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. (CVE-2024-52336)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="tuned">
        <name>HCE 2.0</name>
        <package arch="noarch" name="tuned" version="2.24.1" release="1.hce2">
          <filename>tuned-2.24.1-1.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="tuned-help" version="2.24.1" release="1.hce2">
          <filename>tuned-help-2.24.1-1.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="tuned-profiles-devel" version="2.24.1" release="1.hce2">
          <filename>tuned-profiles-devel-2.24.1-1.hce2.noarch.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
