Highlights
Broken Cryptography: 1 prior fix. Scrutinize any change in this area.
src/main/java/org/simplejavamail/mailer/Mailer.java: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
SMTP Header Injection: Lack of validation on outgoing email fields allowed malicious newline (CRLF) injection during SMTP transmission, potentially allowing attackers to inject arbitrary SMTP commands or headers. This was mitigated by adding comprehensive CRLF scans before sending.
Broken Cryptography: Weak default SSL/TLS configurations failed to enforce strict hostname verification or mandatory STARTTLS negotiation, exposing mail clients to Man-in-the-Middle (MitM) attacks. Strict checking properties are now explicitly configured.
Email Injection: Failure to validate disposition-notification-to and return-receipt-to email headers allowed CRLF injection inside administrative headers. Input validation via scanning routines was added to reject carriage return and line feed characters.