CVE-2020-2253
Missing hostname validation in Email Extension Plugin
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » email-ext | < 2.76 | 2.76 |
Blast radius
40% of the dependent artifacts (2) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 141 |
Most used dependents
- org.jenkinsci.plugins » emailext-template0 usages
- org.jenkins-ci.plugins » job-direct-mail0 usages
- org.jenkins-ci.plugins » cisco-spark0 usages
- jenkins.plugins » mqtt-notification-plugin0 usages
- org.jenkins-ci.plugins » email-ext-recipients-column0 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2020-2253 | nvd.nist.gov |
| Package | jenkinsci/email-ext-plugin | github.com |
| Web | jenkinsci/email-ext-plugin commit ac039ba | github.com |
| Web | security/advisory/2020-09-16 | jenkins.io |
| Web | lists/oss-security/2020/09/16/3 | openwall.com |
