{"id":"CVE-2017-9801","aliases":["EUVD-2022-4710","GHSA-p7vm-phxx-g722","MGASA-2017-0322","openSUSE-SU-2024:10619-1"],"status":"published","title":"Improper Input Validation in Apache Commons Email","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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.06036,"percentile":0.93408,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2017-08-07T15:00:00Z","modified":"2026-06-17T01:28:56Z","fixes":[{"ecosystem":"Maven","package":"org.apache.commons:commons-email","fixed_in":["1.5"],"sources":["ghsa","osv"]},{"ecosystem":"Mageia:5","package":"apache-commons-email","fixed_in":["1.3.1-4.1.mga5"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"apache-commons-email","fixed_in":["1.3.1-10.1.mga6"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"apache-commons-email","fixed_in":["1.5-3.10"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.commons:commons-email","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"last_affected":"1.4"},{"fixed":"1.5"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.commons:commons-email","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5"}]}],"versions":["1.1","1.2","1.3","1.3.1","1.3.2","1.3.3","1.4"]},{"source":"osv","ecosystem":"Mageia:5","package":"apache-commons-email","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-4.1.mga5"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"apache-commons-email","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-10.1.mga6"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"apache-commons-email","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5-3.10"}]}]}],"products":[{"vendor":"apache","product":"commons_email"},{"vendor":"apache software foundation","product":"apache commons email"}],"references":[{"url":"https://lists.apache.org/thread.html/7ef903a772a2ff08605df1be819044fb15df2815eb3d63878b3fbbb5%40%3Cannounce.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securitytracker.com/id/1039043","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"http://www.securityfocus.com/bid/100082","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9801","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/7ef903a772a2ff08605df1be819044fb15df2815eb3d63878b3fbbb5@%3Cannounce.apache.org%3E","tags":["web"]},{"url":"https://github.com/advisories/GHSA-p7vm-phxx-g722"},{"url":"https://advisories.mageia.org/MGASA-2017-0322.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21435","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2017/08/01/7","tags":["web"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9801","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-9801","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.","status":"published","published":"2017-08-07T15:00:00Z","modified":"2024-09-16T19:05:37.866Z","updated_at":"2026-11-02T14:33:13.606903Z"}],"euvd":[{"id":"EUVD-2022-4710","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.","status":"published","published":"2017-08-07T15:00:00Z","modified":"2024-09-16T19:05:37Z","updated_at":"2026-11-03T00:55:26.31684Z"}],"ghsa":[{"id":"GHSA-p7vm-phxx-g722","title":"Improper Input Validation in Apache Commons Email","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.","status":"published","published":"2022-05-17T02:15:41Z","modified":"2023-01-27T05:02:35Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:19.144959Z"}],"nvd":[{"id":"CVE-2017-9801","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.","status":"published","published":"2017-08-07T15:29:00.517Z","modified":"2026-06-17T01:28:56.987Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:03:57.282351Z"}],"osv":[{"id":"GHSA-p7vm-phxx-g722","title":"Improper Input Validation in Apache Commons Email","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.","status":"published","published":"2022-05-17T02:15:41Z","modified":"2023-11-08T03:59:29.683863Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:52.891208Z"},{"id":"MGASA-2017-0322","title":"Updated apache-commons-email packages fix security vulnerability","description":"In apache-commons-email before 1.5, when a call-site passes a subject\nfor an email that contains line-breaks, the caller can add arbitrary\nSMTP headers (CVE-2017-9801).\n","status":"published","published":"2017-09-01T21:10:29Z","modified":"2026-04-16T06:24:49.699576464Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2024:10619-1","title":"apache-commons-email-1.5-3.10 on GA media","description":"These are all security issues fixed in the apache-commons-email-1.5-3.10 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:39:06.45295Z","updated_at":"2026-11-02T16:58:34.487567Z"}]}}
