CVE Vulnerabilities

CVE-2025-54389

Improper Output Neutralization for Logs

Published: Aug 14, 2025 | Modified: Nov 04, 2025
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
7.1 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

AIDE is an advanced intrusion detection environment. Prior to version 0.19.2, there is an improper output neutralization vulnerability in AIDE. An attacker can craft a malicious filename by including terminal escape sequences to hide the addition or removal of the file from the report and/or tamper with the log output. A local user might exploit this to bypass the AIDE detection of malicious files. Additionally the output of extended attribute key names and symbolic links targets are also not properly neutralized. This issue has been patched in version 0.19.2. A workaround involves configuring AIDE to write the report output to a regular file, redirecting stdout to a regular file, or redirecting the log output written to stderr to a regular file.

Weakness

The product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file.

Affected Software

NameVendorStart VersionEnd Version
Advanced_intrusion_detection_environmentAdvanced_intrusion_detection_environment_project*0.19.2 (excluding)
Red Hat Enterprise Linux 10RedHataide-0:0.18.6-8.el10_0.2*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHataide-0:0.15.1-13.el7_9.5*
Red Hat Enterprise Linux 8RedHataide-0:0.16-15.el8_10.2*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHataide-0:0.16-11.el8_2.2*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHataide-0:0.16-14.el8_4.2*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHataide-0:0.16-14.el8_4.2*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHataide-0:0.16-15.el8_6.1*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHataide-0:0.16-15.el8_6.1*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHataide-0:0.16-15.el8_6.1*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHataide-0:0.16-15.el8_8.1*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHataide-0:0.16-15.el8_8.1*
Red Hat Enterprise Linux 9RedHataide-0:0.16-103.el9_6.2*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHataide-0:0.16-100.el9_0.1*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHataide-0:0.16-100.el9_2.1*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHataide-0:0.16-100.el9_4.1*
File Integrity Operator 1RedHatcompliance/openshift-file-integrity-rhel8-operator:sha256:59fcdf4ea159ba76fdb582011263672646dd9d63304a91592c0a21d0f43986a4*
AideUbuntudevel*
AideUbuntuesm-infra-legacy/trusty*
AideUbuntuesm-infra/bionic*
AideUbuntuesm-infra/focal*
AideUbuntuesm-infra/xenial*
AideUbuntujammy*
AideUbuntunoble*
AideUbuntuplucky*
AideUbuntuupstream*

Potential Mitigations

  • Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

References