What’s Vulnerable › Vulnerabilities

CVE-2024-52337: Tuned: improper sanitization of `instance_name` parameter of the `instance_create()` method

Description

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 'evil' the attacker could mimic a valid TuneD log line and trick the administrator. The quotes '' are usually used in TuneD logs citing raw user input, so there will always be the ' 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's D-Bus interface for such operations.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Fast Datapath for Red Hat Enterprise Linux 7 0:2.11.0-5.el7fdp.2; Red Hat Fast Datapath for Red Hat Enterprise Linux 8 0:2.24.0-2.1.20240819gitc082797f.el8fdp; Red Hat Fast Datapath for Red Hat Enterprise Linux 9 0:2.24.0-2.1.20240819gitc082797f.el9fdp; Red Hat Enterprise Linux 7 Extended Lifecycle Support 0:2.11.0-13.el7_9; Red Hat Enterprise Linux 8 0:2.22.1-5.el8_10; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:2.20.0-1.el8_4.2; Red Hat Enterprise Linux 8.4 Telecommunications Update Service 0:2.20.0-1.el8_4.2; Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions 0:2.20.0-1.el8_4.2; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:2.20.0-1.el8_6.2; Red Hat Enterprise Linux 8.6 Telecommunications Update Service 0:2.20.0-1.el8_6.2; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 0:2.20.0-1.el8_6.2; Red Hat Enterprise Linux 8.8 Extended Update Support 0:2.20.0-2.el8_8.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-52337 or the next vulnerability affects your stack