CVE-2024-52337
JSON

5.5medium

Tuned: improper sanitization of `instance_name` parameter of the `instance_create()` method

Severity
5.5medium CVSS:3.1 by redhat
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
tunedfrom 2.23.0 before 2.24.1
Not affected: from 0:2.11.0-5.el7fdp.2 before *, from 0:2.24.0-2.1.20240819gitc082797f.el8fdp before *, from 0:2.24.0-2.1.20240819gitc082797f.el9fdp before *, from 0:2.11.0-13.el7_9 before *, from 0:2.22.1-5.el8_10 before *, from 0:2.20.0-1.el8_4.2 before *
CVE List

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró una falla de suplantación de registros en el paquete Tuned debido a una desinfección incorrecta de algunos argumentos de la API. Esta falla permite a un atacante pasar una secuencia controlada de caracteres; se pueden insertar nuevas líneas en el registro. En lugar de la línea 'evil', el atacante podría imitar una línea de registro válida de TuneD y engañar al administrador. Las comillas '' se utilizan generalmente en los registros de TuneD que citan la entrada del usuario sin procesar, por lo que siempre habrá el carácter ' al final de la entrada suplantada, y el administrador puede pasarlo por alto fácilmente. Esta cadena registrada se utiliza más tarde en el registro y en la salida de utilidades, por ejemplo, `tuned-adm get_instances` u otros programas de terceros que utilizan la interfaz D-Bus de Tuned para tales operaciones.

References

https://access.redhat.com/errata/RHSA-2024:10381vendor-advisory
https://access.redhat.com/errata/RHSA-2024:10384vendor-advisory
https://access.redhat.com/errata/RHSA-2024:11161vendor-advisory
https://access.redhat.com/errata/RHSA-2025:0195vendor-advisory
https://access.redhat.com/errata/RHSA-2025:0327vendor-advisory
https://access.redhat.com/errata/RHSA-2025:0368vendor-advisory
https://access.redhat.com/errata/RHSA-2025:0879vendor-advisory
https://access.redhat.com/errata/RHSA-2025:0880vendor-advisory
https://access.redhat.com/errata/RHSA-2025:0881vendor-advisory
https://access.redhat.com/errata/RHSA-2025:1785vendor-advisory
https://access.redhat.com/errata/RHSA-2025:1802vendor-advisory
https://access.redhat.com/security/cve/CVE-2024-52337vdb-entry

Sources

SourceRecordLicence
CVE ListCVE-2024-52337 changed 2026-11-26CVE Terms of Use
NVDCVE-2024-52337 changed 2026-11-24Public domain