CVE-2020-2252: Improper Validation of Certificate with Host Mismatch in Jenkins Mailer Plugin
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.08831%
CWE
Published
5/24/2022
Updated
12/14/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.jenkins-ci.plugins:mailer | maven | = 1.32 | 1.32.1 |
| org.jenkins-ci.plugins:mailer | maven | >= 1.30, < 1.31.1 | 1.31.1 |
| org.jenkins-ci.plugins:mailer | maven | < 1.29.1 | 1.29.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing hostname validation during SMTP TLS handshakes. The commit e1893c6 shows the fix explicitly adds 'mail.smtp.ssl.checkserveridentity=true' property in Mailer.java's createSession method. Prior versions lacked this security check, making the session establishment function vulnerable. The function's responsibility for configuring mail session properties directly relates to the certificate validation mechanism described in the CVE.