Bug 1477540 (CVE-2017-9801) - CVE-2017-9801 apache-commons-email: SMTP header injection vulnerabilty
Summary: CVE-2017-9801 apache-commons-email: SMTP header injection vulnerabilty
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2017-9801
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1477541
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-02 11:12 UTC by Adam Mariš
Modified: 2019-09-29 14:18 UTC (History)
2 users (show)

Fixed In Version: apache-commons-email 1.5
Clone Of:
Environment:
Last Closed: 2019-06-08 03:19:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-08-02 11:12:24 UTC
When a call-site passes a subject for an email that contains line-breaks, the caller can add arbitrary SMTP headers.

This vulnerability can be mitigated for older versions of Commons Email by stripping line-breaks from the subject before passing it to the setSubject(String) method.

References:

http://seclists.org/oss-sec/2017/q3/231

Comment 1 Adam Mariš 2017-08-02 11:12:52 UTC
Created apache-commons-email tracking bugs for this issue:

Affects: fedora-all [bug 1477541]

Comment 2 Product Security DevOps Team 2019-06-08 03:19:48 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.