{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54389 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2025-54389 is a medium-severity vulnerability in aide, published on 14 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-54389 and fix it if it is affected.\n\nWhat it is: CVE-2025-54389 is a medium-severity vulnerability in aide, published on 14 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54389 exists.\n\nAffected product: aide. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-54389/ (Markdown: https://insights.sbomify.com/CVE-2025-54389/index.md)","id":"CVE-2025-54389","markdown":"https://insights.sbomify.com/CVE-2025-54389/index.md","name":"CVE-2025-54389","record":{"aliases":["ALSA-2025:14493","ALSA-2025:14573","ALSA-2025:14592","AZL-66297","AZL-66434","CLSA-2026-1768410745","CLSA-2026-1779898961","CLSA-2026-1784559120","CLSA-2026-1784559273","DEBIAN-CVE-2025-54389","GHSA-522j-vvx9-gg28","RHSA-2025:14493","RHSA-2025:14573","RHSA-2025:14592","RHSA-2025:14980","RHSA-2025:14981","RHSA-2025:14982","RHSA-2025:15038","RHSA-2025:15039","RHSA-2025:15058","RHSA-2025:15409","RHSA-2025:15728","RLSA-2025:14493","RLSA-2025:14573","RLSA-2025:14592","UBUNTU-CVE-2025-54389"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AIDE intrusion detection","requires_auth":"none","summary":"Attackers can hide file changes in AIDE reports using terminal escape sequences, bypassing intrusion detection mechanisms.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"advanced_intrusion_detection_environment","vendor":"advanced_intrusion_detection_environment_project"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs"}],"description":"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.8::appstream","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"AIDE improper output neutralization vulnerability","id":"CVE-2025-54389","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2025"},"n_packages":50,"n_references":3,"next":{"headline":"Cross-site request forgery in n/a","id":"CVE-2025-54390"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["0.18.6-8.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/almalinux/aide","source":"ALSA-2025:14592"},{"ecosystem":"AlmaLinux:8","fixed":["0.16-15.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/almalinux/aide","source":"ALSA-2025:14573"},{"ecosystem":"AlmaLinux:9","fixed":["0.16-103.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/almalinux/aide","source":"ALSA-2025:14493"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:0.18.6-8.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:14592"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:0.18.6-8.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:14592"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:0.18.6-8.el10_0.2"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:14592"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.16-15.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:14573"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.16-15.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:14573"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.16-15.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:14573"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.16-103.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:14493"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.16-103.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:14493"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.16-103.el9_6.2"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:14493"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.16-11.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:14980"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.16-11.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:14980"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:0.16-11.el8_2.2"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:14980"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.16-14.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:14981"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.16-14.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:14981"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:0.16-14.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:14981"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.16-15.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:15058"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.16-15.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:15058"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:0.16-15.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:15058"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:0.16-15.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:15058"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:0.16-15.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:15058"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:0.16-15.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:15058"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:0.16-15.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:14982"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:0.16-15.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:14982"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:0.16-15.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:14982"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:0.16-100.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:15409"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:0.16-100.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:15409"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:0.16-100.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:15409"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:0.16-100.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:15038"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:0.16-100.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:15038"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:0.16-100.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:15038"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:0.15.1-13.el7_9.5"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:15728"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:0.15.1-13.el7_9.5"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:15728"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:0.16-100.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:15039"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:0.16-100.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:15039"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:0.16-100.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"aide-debugsource","purl":"pkg:rpm/redhat/aide-debugsource","source":"RHSA-2025:15039"},{"ecosystem":"Red Hat:rhel_eus_long_life:8.4::appstream","fixed":["0:0.16-14.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"aide","purl":"pkg:rpm/redhat/aide","source":"RHSA-2025:14981"},{"ecosystem":"Red Hat:rhel_eus_long_life:8.4::appstream","fixed":["0:0.16-14.el8_4.2"],"introduced":["0"],"last_affected":[],"package":"aide-debuginfo","purl":"pkg:rpm/redhat/aide-debuginfo","source":"RHSA-2025:14981"}],"prev":{"headline":"Moby's Firewalld reload makes published container ports accessible from remote hosts","id":"CVE-2025-54388"},"products":["aide"],"published":"2025-08-14","related":[{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2021-45417","kev_date_added":null,"published":"2022-01-20"},{"cvss_score":6.2,"headline":"AIDE null pointer dereference when reading incorrectly encoded xattr attributes from database (local DoS)","id":"CVE-2025-54409","kev_date_added":null,"published":"2025-08-14"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["aide"]},"summary":"Attackers can hide file changes in AIDE reports using terminal escape sequences, bypassing intrusion detection mechanisms.","url":"https://insights.sbomify.com/CVE-2025-54389/"}