CVE-2021-31164 Apache Unomi log injection

High 7.5 Published Updated

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.

Weakness: CWE-74, CWE-93

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.

PackageAffectedFixed in
org.apache.unomi:unomi MavenAll versions1.5.5
org.apache.unomi:unomi MavenAll versions1.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.

Sources

Also known as GHSA-rm7f-mpcj-w4f6.

Is CVE-2021-31164 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free