CVE-2017-9801Apache Commons Email
High 7.5 No auth needed
Follow: this CVE · Apache · Apache Commons Email We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.0
- 7.5
- EPSS
- 6.0% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- Aug 7, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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
- Apply the vendor's security update for Commons Email.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.commons:commons-email |
≥ 1.0 < 1.5 |
1.5 |
— |
Per OSV / GitHub Advisories (GHSA-p7vm-phxx-g722). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | commons_email | 1.0 |
| apache | commons_email | 1.1 |
| apache | commons_email | 1.2 |
| apache | commons_email | 1.3 |
| apache | commons_email | 1.3.1 |
| apache | commons_email | 1.3.2 |
| apache | commons_email | 1.3.3 |
| apache | commons_email | 1.4 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- lists.apache.org