CVE-2024-52337 Tuned: improper sanitization of `instance_name` parameter of the `instance_create()` method
Attackers can inject newlines into Tuned logs via unsanitized input, potentially spoofing log entries to mislead administrators.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-52337?
CVE-2024-52337 is a medium-severity vulnerability in Fast Datapath for Red Hat Enterprise Linux 7, published on 26 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2024-52337?
Linux distribution packages (40)
tuned AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned-gtk AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned-profiles-atomic AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned-profiles-compat AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned-profiles-cpu-partitioning AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned-profiles-mssql AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned-profiles-oracle AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned-profiles-postgresql AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned-profiles-realtime AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned-utils AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned-utils-systemtap AlmaLinux:8 | All versions | 2.22.1-5.el8_10 |
tuned Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-gtk Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-profiles-atomic Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-profiles-compat Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-profiles-cpu-partitioning Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-profiles-nfv Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-profiles-nfv-guest Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-profiles-nfv-host Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-profiles-oracle Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-profiles-realtime Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-profiles-sap Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-profiles-sap-hana Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-utils Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-utils-systemtap Red Hat:enterprise_linux:7::fastdatapath | All versions | 0:2.11.0-5.el7fdp.2 |
tuned-gtk Red Hat:enterprise_linux:8::appstream | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-postgresql Red Hat:enterprise_linux:8::appstream | All versions | 0:2.22.1-5.el8_10 |
tuned-utils Red Hat:enterprise_linux:8::appstream | All versions | 0:2.22.1-5.el8_10 |
tuned-utils-systemtap Red Hat:enterprise_linux:8::appstream | All versions | 0:2.22.1-5.el8_10 |
tuned Red Hat:enterprise_linux:8::baseos | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-atomic Red Hat:enterprise_linux:8::baseos | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-compat Red Hat:enterprise_linux:8::baseos | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-cpu-partitioning Red Hat:enterprise_linux:8::baseos | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-mssql Red Hat:enterprise_linux:8::baseos | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-oracle Red Hat:enterprise_linux:8::baseos | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-nfv Red Hat:enterprise_linux:8::nfv | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-nfv-guest Red Hat:enterprise_linux:8::nfv | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-nfv-host Red Hat:enterprise_linux:8::nfv | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-realtime Red Hat:enterprise_linux:8::nfv | All versions | 0:2.22.1-5.el8_10 |
tuned-profiles-realtime Red Hat:enterprise_linux:8::realtime | All versions | 0:2.22.1-5.el8_10 |
How do I fix CVE-2024-52337?
Apply the vendor's patch.
Is CVE-2024-52337 being exploited?
There is no known exploitation of CVE-2024-52337 in the wild and no public exploit code.
Sources
Also known as ALSA-2024:11161, AZL-53546, AZL-53676, CLSA-2025-1755886078, DEBIAN-CVE-2024-52337, GHSA-8c3c-gvf8-p7v2 and 10 more.