Skip to content

Improper Input Validation Apache Commons Email

High severity GitHub Reviewed Published May 14, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

maven org.apache.commons:commons-email (Maven)

Affected versions

< 1.5

Patched versions

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

References

Published by the National Vulnerability Database Mar 20, 2018
Published to the GitHub Advisory Database May 14, 2022
Reviewed Jun 29, 2022
Last updated Jan 27, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weaknesses

CVE ID

CVE-2018-1294

GHSA ID

GHSA-v7cm-w955-pj6g

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.