Improper Output Neutralization for Logs Affecting aide package, versions <0.16~a2.git20130520-3ubuntu0.1~esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Output Neutralization for Logs vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1604-AIDE-11808510
  • published15 Aug 2025
  • disclosed14 Aug 2025

Introduced: 14 Aug 2025

NewCVE-2025-54389  (opens in a new tab)
CWE-117  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 aide to version 0.16a2.git20130520-3ubuntu0.1esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream aide package and not the aide package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.