CVE-2021-42010: Heron allows CRLF log injection
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.47627%
CWE
Published
10/24/2022
Updated
8/17/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.apache.heron:heron-api | maven | < 0.20.5-incubating | 0.20.5-incubating |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped log statements in Heron's API components. Based on:
- The CWE-116 classification indicating output encoding issues
- Heron's Java architecture patterns where logging utilities are centralized
- Common vulnerability patterns in logging frameworks where user input is directly concatenated into log messages
- The package structure (org.apache.heron.api) being the affected component While specific code changes aren't visible, the critical logging function (LoggingUtils.log) is a prime candidate as central logging infrastructure would handle message formatting. TopologyBuilder.createTopology is included with lower confidence due to its role in handling user-provided topology configurations that might be logged.