GitHub Advisoryadvisory · Maven

GHSA-v7cm-w955-pj6g Improper Input Validation Apache Commons Email

HIGH Published 2022-05-14 Modified 2022-06-29 Official page ↗
Aliases
CVE-2018-1294
Ecosystem
Maven
Packages
org.apache.commons:commons-email
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-20
Reviewed
2022-06-29

Affected packages

• Maven org.apache.commons:commons-email: < 1.5 → fixed in 1.5

Description

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).

Related

Alias · CVE (1)

  • CVE-2018-1294 If a user of Apache Commons Email (typically an application programmer) passes unvalidated input as the so-called "Bounce Address", and… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References