GitHub Advisory Database
GHSA-v7cm-w955-pj6g
Improper Input Validation Apache Commons Email
Details
If a user of Apache Commons Email (typically an application programmer) passes unvalidated input as the so-called "Bounce Address", and that input contains line-breaks, then the email details (recipients, contents, etc.) might be manipulated. Mitigation: Users should upgrade to Commons-Email 1.5. You can mitigate this vulnerability for older versions of Commons Email by stripping line-breaks from data, that will be passed to Email.setBounceAddress(String).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.commons:commons-email | All versions before 1.5 (fixed in 1.5) |