CVE-2021-42010
Java vulnerability analysis and mitigation

Overview

Apache Heron (Incubating) versions 0.20.4-incubating and earlier were found to be vulnerable to CRLF log injection due to insufficient escaping in log statements. The vulnerability is tracked as CVE-2021-42010 and was disclosed in October 2022. The issue affects the logging functionality in Apache Heron, an open-source distributed stream processing engine (OSS Security).

Technical details

The vulnerability stems from a lack of proper escaping mechanisms in the log statements within Apache Heron. This allows for CRLF (Carriage Return Line Feed) injection in log files. The severity of this vulnerability has been assessed with a CVSS v3.1 Base Score of 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The issue is classified under CWE-116 (Improper Encoding or Escaping of Output) (NVD).

Impact

The CRLF log injection vulnerability could potentially allow attackers to manipulate log files by injecting malicious content. This could lead to log tampering, which may affect system monitoring, auditing, and potentially mask other malicious activities (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Apache Heron version 0.20.5-incubating. Users are strongly advised to upgrade to this version or later to address the CRLF log injection vulnerability (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management