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.

Classification

CVE ID: CVE-2024-52337

Affected Products

Vendor: Red Hat

Product: Red Hat Enterprise Linux 7 Extended Lifecycle Support

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 15.23% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://access.redhat.com/errata/RHSA-2024:10381
https://access.redhat.com/errata/RHSA-2024:10384
https://access.redhat.com/security/cve/CVE-2024-52337
https://bugzilla.redhat.com/show_bug.cgi?id=2324541

Timeline