CVE-2017-9801 json
Improper Input Validation in Apache Commons Email
published 2017-08-07 9 y ago modified 2026-06-17 4 mo ago also GHSA-p7vm-phxx-g722 , EUVD-2022-4710
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.0%
- EPSS 6.0% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.commons:commons-email 1.5
- apache-commons-email openSUSE Tumbleweed 1.5-3.10
opensuse advisories openSUSE-SU-2024:10619-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-9801 updated cvss 4.2
apache-commons-email: SMTP header injection vulnerabilty
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.04% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.commons:commons-email | >=1.0, <1.5 |
1.5 |
Affected products
- Apache Software Foundation Apache Commons Email
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
lists.apache.org
/thread.html/7ef903a772a2ff08605df1be819044fb15df2815eb3d63878b3fbbb5%40%3Cannounce.apache.org%3E
mailing-list
-
securitytracker.com
/id/1039043
vdb-entry, web, third-party-advisory
-
securityfocus.com
/bid/100082
vdb-entry, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-9801
advisory
-
lists.apache.org
/thread.html/7ef903a772a2ff08605df1be819044fb15df2815eb3d63878b3fbbb5@%3Cannounce.apache.org%3E
web
Sources
- CVE List CVE-2017-9801
- GitHub Advisory GHSA-p7vm-phxx-g722
- NVD CVE-2017-9801
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.