Loading HuntDB...

GHSA-4qrj-99r6-jfrh

GitHub Security Advisory

Missing hostname validation in Email Extension Plugin

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

Email Extension Plugin 2.75 and earlier does not perform hostname validation when connecting to the configured SMTP server. This lack of validation could be abused using a man-in-the-middle attack to intercept these connections.

Email Extension Plugin 2.76 validates the SMTP hostname when connecting via TLS by default. In Email Extension Plugin 2.75 and earlier, administrators can set the Java system property `mail.smtp.ssl.checkserveridentity` to `true` on startup to enable this protection. Alternatively, this protection can be enabled (or disabled in the new version) via the 'Advanced Email Properties' field in the plugin’s configuration in Configure System.

In case of problems, this protection can be disabled again by setting `mail.smtp.ssl.checkserveridentity` to `false` using either method.

Affected Packages

Maven org.jenkins-ci.plugins:email-ext
Affected versions: 0 (fixed in 2.76)

Related CVEs

Key Information

GHSA ID
GHSA-4qrj-99r6-jfrh
Published
May 24, 2022 5:28 PM
Last Modified
December 14, 2023 10:03 AM
CVSS Score
5.0 /10
Primary Ecosystem
Maven
Primary Package
org.jenkins-ci.plugins:email-ext
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 4, 2025 6:27 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.