Vulnerability · Published Nov 26, 2024 · Assigned by redhat

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

Medium 5.5

In plain English

A medium-severity improper input validation in tuned. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.3%top 77.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8tuned2.22.1-5.el8_10ALSA-2024:11161
AlmaLinux:9tuned2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:8tuned-gtk2.22.1-5.el8_10ALSA-2024:11161
AlmaLinux:9tuned-gtk2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:9tuned-ppd2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:8tuned-profiles-atomic2.22.1-5.el8_10ALSA-2024:11161
AlmaLinux:9tuned-profiles-atomic2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:8tuned-profiles-compat2.22.1-5.el8_10ALSA-2024:11161
AlmaLinux:8tuned-profiles-cpu-partitioning2.22.1-5.el8_10ALSA-2024:11161
AlmaLinux:9tuned-profiles-cpu-partitioning2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:8tuned-profiles-mssql2.22.1-5.el8_10ALSA-2024:11161
AlmaLinux:9tuned-profiles-mssql2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:8tuned-profiles-oracle2.22.1-5.el8_10ALSA-2024:11161
AlmaLinux:9tuned-profiles-oracle2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:8tuned-profiles-postgresql2.22.1-5.el8_10ALSA-2024:11161
AlmaLinux:9tuned-profiles-postgresql2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:8tuned-profiles-realtime2.22.1-5.el8_10ALSA-2024:11161
AlmaLinux:9tuned-profiles-realtime2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:9tuned-profiles-spectrumscale2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:8tuned-utils2.22.1-5.el8_10ALSA-2024:11161
AlmaLinux:9tuned-utils2.24.0-2.el9_5.alma.1ALSA-2024:10384
AlmaLinux:8tuned-utils-systemtap2.22.1-5.el8_10ALSA-2024:11161
Debian:13tuned2.24.1-1DEBIAN-CVE-2024-52337
Debian:14tuned2.24.1-1DEBIAN-CVE-2024-52337
Rocky Linux:8tuned0:2.22.1-5.el8_10RLSA-2024:11161
Rocky Linux:9tuned0:2.24.0-2.el9_5RLSA-2024:10384
Ubuntu:22.04:LTStunedno fix listedUBUNTU-CVE-2024-52337
Ubuntu:24.04:LTStunedno fix listedUBUNTU-CVE-2024-52337
Ubuntu:25.10tunedno fix listedUBUNTU-CVE-2024-52337
Ubuntu:26.04:LTStunedno fix listedUBUNTU-CVE-2024-52337
Ubuntu:26.10tunedno fix listedUBUNTU-CVE-2024-52337

Affected products (as reported)

Weakness: CWE-20 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

References