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.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-20"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52337.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:2.11.0-5.el7fdp.2"
},
{
"fixed": "0:2.24.0-2.1.20240819gitc082797f.el8fdp"
},
{
"fixed": "0:2.24.0-2.1.20240819gitc082797f.el9fdp"
},
{
"fixed": "0:2.11.0-13.el7_9"
},
{
"fixed": "0:2.11.0-13.el7_9"
},
{
"fixed": "0:2.22.1-5.el8_10"
},
{
"fixed": "0:2.22.1-5.el8_10"
},
{
"fixed": "0:2.20.0-1.el8_4.2"
},
{
"fixed": "0:2.20.0-1.el8_4.2"
},
{
"fixed": "0:2.20.0-1.el8_4.2"
},
{
"fixed": "0:2.20.0-1.el8_6.2"
},
{
"fixed": "0:2.20.0-1.el8_6.2"
},
{
"fixed": "0:2.20.0-1.el8_6.2"
},
{
"fixed": "0:2.20.0-2.el8_8.1"
},
{
"fixed": "0:2.24.0-2.el9_5"
},
{
"fixed": "0:2.24.0-2.el9_5"
},
{
"fixed": "0:2.20.0-3.el9_2"
},
{
"fixed": "0:2.22.1-3.el9_4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.23.0"
},
{
"fixed": "2.24.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"original_tag": "v2.24.1",
"range": [
{
"fixed": "90c24eea037c7a5e9414c93f8fb3e549ed4a7b06"
}
],
"source": "REFERENCES_TAG"
}
]
}