CVE-2021-31164 Apache Unomi log injection
Attackers can inject CRLF characters into logs due to missing escaping, potentially corrupting log files or misleading log analysis.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-31164?
CVE-2021-31164 is a high-severity vulnerability in Apache Unomi, published on 4 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Apache Unomi prior to version 1.5.5 allows CRLF log injection because of the lack of escaping in the log statements.
Which versions are affected by CVE-2021-31164?
2 open source packages ship an affected version, including org.apache.unomi:unomi. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.unomi:unomi Maven | All versions | 1.5.5 |
org.apache.unomi:unomi Maven | All versions | 1.5.5 |
Products include Apache Unomi.
How do I fix CVE-2021-31164?
Upgrade org.apache.unomi:unomi to 1.5.5 or later.
Is CVE-2021-31164 being exploited?
There is no known exploitation of CVE-2021-31164 in the wild and no public exploit code.
Other vulnerabilities in Apache Unomi
Sources
Also known as GHSA-rm7f-mpcj-w4f6.