Skip to content

Improper Input Validation in Apache Commons Email

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

Package

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

Affected versions

>= 1.0, <= 1.4

Patched versions

1.5

Description

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.

References

Published by the National Vulnerability Database Aug 7, 2017
Published to the GitHub Advisory Database May 17, 2022
Reviewed Jun 30, 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-2017-9801

GHSA ID

GHSA-p7vm-phxx-g722

Source code

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