Skip to content

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

MediumCVSS 5.5 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

18 packages: 13 fixed, 1 partially fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/tuned(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/tuned(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/tuned(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/tuned(Ubuntu 26.10) All versions No fix listed No fix yet
redhat enterprise linux < 0:2.11.0-5.el7fdp.2; < 0:2.22.1-5.el8_10; < 0:2.24.0-2.1.20240819gitc082797f.el8fdp; < 0:2.24.0-2.1.20240819gitc082797f.el9fdp +2 more 0:2.11.0-5.el7fdp.2, 0:2.22.1-5.el8_10, 0:2.24.0-2.1.20240819gitc082797f.el8fdp, 0:2.24.0-2.1.20240819gitc082797f.el9fdp, 0:2.24.0-2.el9_5 Partially fixed
azure linux tuned(Azure Linux 3.0) < 2.21.0-2 2.21.0-2 Fixed
cbl-mariner tuned(CBL-Mariner 2.0) < 2.15.0-5 2.15.0-5 Fixed
debian/tuned(Debian 13) < 2.24.1-1 2.24.1-1 Fixed
debian/tuned(Debian 14) < 2.24.1-1 2.24.1-1 Fixed
redhat rhel aus < 0:2.20.0-1.el8_4.2; < 0:2.20.0-1.el8_6.2 0:2.20.0-1.el8_4.2, 0:2.20.0-1.el8_6.2 Fixed
redhat rhel e4s < 0:2.20.0-1.el8_4.2; < 0:2.20.0-1.el8_6.2 0:2.20.0-1.el8_4.2, 0:2.20.0-1.el8_6.2 Fixed
redhat rhel els < 0:2.11.0-13.el7_9; = 6 0:2.11.0-13.el7_9 Fixed
redhat rhel eus < 0:2.20.0-2.el8_8.1; < 0:2.20.0-3.el9_2; < 0:2.22.1-3.el9_4 0:2.20.0-2.el8_8.1, 0:2.20.0-3.el9_2, 0:2.22.1-3.el9_4 Fixed
redhat rhel extras rt els < 0:2.11.0-13.el7_9 0:2.11.0-13.el7_9 Fixed
redhat rhel extras sap els < 0:2.11.0-13.el7_9 0:2.11.0-13.el7_9 Fixed
redhat rhel extras sap hana els < 0:2.11.0-13.el7_9 0:2.11.0-13.el7_9 Fixed
redhat rhel tus < 0:2.20.0-1.el8_4.2; < 0:2.20.0-1.el8_6.2 0:2.20.0-1.el8_4.2, 0:2.20.0-1.el8_6.2 Fixed
tuned >= 2.23.0, < 2.24.1 2.24.1 Fixed

Affected products

ProductAffected versionsFixed in
azure linux tuned(Azure Linux:3.0) < 2.21.0-2 2.21.0-2
cbl-mariner tuned(CBL-Mariner:2.0) < 2.15.0-5 2.15.0-5
debian/tuned(Debian:13) < 2.24.1-1 2.24.1-1
debian/tuned(Debian:14) < 2.24.1-1 2.24.1-1
ubuntu/tuned(Ubuntu:22.04) All versions No fix listed
tuned >= 2.23.0, < 2.24.1 2.24.1
redhat enterprise linux < 0:2.11.0-5.el7fdp.2 0:2.11.0-5.el7fdp.2
redhat enterprise linux < 0:2.24.0-2.1.20240819gitc082797f.el8fdp 0:2.24.0-2.1.20240819gitc082797f.el8fdp
redhat enterprise linux < 0:2.24.0-2.1.20240819gitc082797f.el9fdp 0:2.24.0-2.1.20240819gitc082797f.el9fdp
redhat rhel extras rt els < 0:2.11.0-13.el7_9 0:2.11.0-13.el7_9
redhat rhel extras sap els < 0:2.11.0-13.el7_9 0:2.11.0-13.el7_9
redhat rhel extras sap hana els < 0:2.11.0-13.el7_9 0:2.11.0-13.el7_9
redhat rhel els < 0:2.11.0-13.el7_9 0:2.11.0-13.el7_9
redhat enterprise linux < 0:2.22.1-5.el8_10 0:2.22.1-5.el8_10
redhat rhel aus < 0:2.20.0-1.el8_4.2 0:2.20.0-1.el8_4.2
redhat rhel e4s < 0:2.20.0-1.el8_4.2 0:2.20.0-1.el8_4.2
redhat rhel tus < 0:2.20.0-1.el8_4.2 0:2.20.0-1.el8_4.2
redhat rhel aus < 0:2.20.0-1.el8_6.2 0:2.20.0-1.el8_6.2
redhat rhel e4s < 0:2.20.0-1.el8_6.2 0:2.20.0-1.el8_6.2
redhat rhel tus < 0:2.20.0-1.el8_6.2 0:2.20.0-1.el8_6.2
redhat rhel eus < 0:2.20.0-2.el8_8.1 0:2.20.0-2.el8_8.1
redhat enterprise linux < 0:2.24.0-2.el9_5 0:2.24.0-2.el9_5
redhat rhel eus < 0:2.20.0-3.el9_2 0:2.20.0-3.el9_2
redhat rhel eus < 0:2.22.1-3.el9_4 0:2.22.1-3.el9_4
redhat enterprise linux All versions No fix listed
Show 4 more
ProductAffected versionsFixed in
redhat rhel els = 6 No fix listed
ubuntu/tuned(Ubuntu:24.04) All versions No fix listed
ubuntu/tuned(Ubuntu:26.04) All versions No fix listed
ubuntu/tuned(Ubuntu:26.10) All versions No fix listed

References