Bug 1477540 - (CVE-2017-9801) CVE-2017-9801 apache-commons-email: SMTP header injection vulnerabilty
CVE-2017-9801 apache-commons-email: SMTP header injection vulnerabilty
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170801,repor...
: Security
Depends On: 1477541
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-02 07:12 EDT by Adam Mariš
Modified: 2017-08-02 07:12 EDT (History)
2 users (show)

See Also:
Fixed In Version: apache-commons-email 1.5
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2017-08-02 07:12:24 EDT
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 07:12:52 EDT
Created apache-commons-email tracking bugs for this issue:

Affects: fedora-all [bug 1477541]

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