GitHub Advisory Database
GHSA-p7vm-phxx-g722
Improper Input Validation in Apache Commons Email
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.commons:commons-email | From 1.0 before 1.5 (fixed in 1.5) |