Apache Unomi log injection
Description
Apache Unomi prior to 1.5.5 allows CRLF log injection due to insufficient escaping in log statements.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Apache Unomi prior to 1.5.5 allows CRLF log injection due to insufficient escaping in log statements.
Vulnerability
Apache Unomi versions prior to 1.5.5 contain a CRLF log injection vulnerability because the software does not properly escape user-controlled input before writing it to log files [1][2]. This allows an attacker to inject carriage return (%0D) and line feed (%0A) characters into log entries, potentially manipulating log structures or forging log entries.
Exploitation
An attacker can exploit this vulnerability by crafting a request that includes CRLF sequences (e.g., %0D%0A) in fields that are subsequently logged [1]. No authentication is required if the vulnerable endpoint is exposed; the attacker simply sends a malicious HTTP request to the Unomi server. The injected characters are written verbatim into the log file, interpreting the CRLF as a new log line.
Impact
Successful exploitation allows an attacker to inject arbitrary content into log files, which can corrupt logging data, obscure malicious activities, or inject fake log entries [2]. While this does not directly lead to remote code execution or data breach, it undermines the integrity of audit logs and can aid in covering up further attacks.
Mitigation
Apache Unomi users should upgrade to version 1.5.5 or later, which contains the fix [2]. The fix was committed in revision 1c088702511ef44a056244cb968682daf8f21946 [2]. No workarounds are provided for earlier versions. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog as of the publication date.
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.unomi:unomiMaven | < 1.5.5 | 1.5.5 |
Affected products
2- Apache Software Foundation/Apache Unomiv5Range: Apache Unomi
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-rm7f-mpcj-w4f6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-31164ghsaADVISORY
- unomi.apache.org/security/cve-2021-31164ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.