CVE-2021-42010 CRLF log injection

Critical 9.8 Published Updated

Attackers can inject CRLF characters into logs due to lack of escaping, potentially corrupting log data in Apache Heron.

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-42010?

CVE-2021-42010 is a critical vulnerability in Apache Heron (Incubating), published on 24 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Heron versions <= 0.20.4-incubating allows CRLF log injection because of the lack of escaping in the log statements. Please update to version 0.20.5-incubating which addresses this issue.

Weakness: CWE-116

Which versions are affected by CVE-2021-42010?

2 open source packages ship an affected version, including org.apache.heron:heron-api. It affects 1 product.

PackageAffectedFixed in
org.apache.heron:heron-api MavenAll versions0.20.5-incubating
org.apache.heron:heron-api MavenAll versions0.20.5-incubating

Products include Apache Heron.

How do I fix CVE-2021-42010?

Upgrade org.apache.heron:heron-api to 0.20.5-incubating or later.

Is CVE-2021-42010 being exploited?

There is no known exploitation of CVE-2021-42010 in the wild and no public exploit code.

Sources

Also known as GHSA-95w5-q9vp-5vrm.

Is CVE-2021-42010 in your software?

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

Check your SBOMs for free