CVE-2017-9801
HIGH 7.5CVSS 3.0Improper Input Validation in Apache Commons Email
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.
- Published
- 7 Aug 2017
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-p7vm-phxx-g722
- Sources
- NVDJSONOSV GHSA-p7vm-phxx-g722JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | commons_emailcpe:2.3:a:apache:commons_email:1.0:*:*:*:*:*:*:* |
= 1.0 | |
| NVD | apache | commons_emailcpe:2.3:a:apache:commons_email:1.1:*:*:*:*:*:*:* |
= 1.1 | |
| NVD | apache | commons_emailcpe:2.3:a:apache:commons_email:1.2:*:*:*:*:*:*:* |
= 1.2 | |
| NVD | apache | commons_emailcpe:2.3:a:apache:commons_email:1.3:*:*:*:*:*:*:* |
= 1.3 | |
| NVD | apache | commons_emailcpe:2.3:a:apache:commons_email:1.3.1:*:*:*:*:*:*:* |
= 1.3.1 | |
| NVD | apache | commons_emailcpe:2.3:a:apache:commons_email:1.3.2:*:*:*:*:*:*:* |
= 1.3.2 | |
| NVD | apache | commons_emailcpe:2.3:a:apache:commons_email:1.3.3:*:*:*:*:*:*:* |
= 1.3.3 | |
| NVD | apache | commons_emailcpe:2.3:a:apache:commons_email:1.4:*:*:*:*:*:*:* |
= 1.4 | |
| OSV | Maven | org.apache.commons:commons-email | >= 1.0, < 1.5 | 1.5 |
References
- http://www.securityfocus.com/bid/100082 · Third Party Advisory, VDB Entry, WEB
- http://www.securitytracker.com/id/1039043 · Third Party Advisory, VDB Entry, WEB
- https://lists.apache.org/thread.html/7ef903a772a2ff08605df1be819044fb15df2815eb3d63878b3fbbb5%40%3Cannounce.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2017-9801 · ADVISORY
- https://lists.apache.org/thread.html/7ef903a772a2ff08605df1be819044fb15df2815eb3d63878b3fbbb5@%3Cannounce.apache.org%3E · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 7 Aug 2017)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)