CVE-2024-52337

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

State
Published
Severity
5.5 Medium
Published
Nov 26, 2024
Updated
Jun 26, 2026
Reserved
Nov 8, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:Nredhat

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
tuned
  • 2.23.0 to before 2.24.1Affected
Fast Datapath for Red Hat Enterprise Linux 7Red Hat
  • 0:2.11.0-5.el7fdp.2 and laterNot affected
Fast Datapath for Red Hat Enterprise Linux 8Red Hat
  • 0:2.24.0-2.1.20240819gitc082797f.el8fdp and laterNot affected
Fast Datapath for Red Hat Enterprise Linux 9Red Hat
  • 0:2.24.0-2.1.20240819gitc082797f.el9fdp and laterNot affected
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat
  • 0:2.11.0-13.el7_9 and laterNot affected
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat
  • 0:2.11.0-13.el7_9 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:2.22.1-5.el8_10 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:2.22.1-5.el8_10 and laterNot affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat
  • 0:2.20.0-1.el8_4.2 and laterNot affected
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRed Hat
  • 0:2.20.0-1.el8_4.2 and laterNot affected
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRed Hat
  • 0:2.20.0-1.el8_4.2 and laterNot affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat
  • 0:2.20.0-1.el8_6.2 and laterNot affected
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat
  • 0:2.20.0-1.el8_6.2 and laterNot affected
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat
  • 0:2.20.0-1.el8_6.2 and laterNot affected
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat
  • 0:2.20.0-2.el8_8.1 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2.24.0-2.el9_5 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:2.24.0-2.el9_5 and laterNot affected
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat
  • 0:2.20.0-3.el9_2 and laterNot affected
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat
  • 0:2.22.1-3.el9_4 and laterNot affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 6Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.