CVE-2020-2252
Improper Validation of Certificate with Host Mismatch in Jenkins Mailer Plugin
Jenkins Mailer Plugin 1.32 and earlier does not perform hostname validation when connecting to the configured SMTP server.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
4.8
Jenkins Mailer Plugin 1.32 and earlier does not perform hostname validation when connecting to the configured SMTP server.
- Record
CVE-2020-2252- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
CVE List No score
Jenkins Mailer Plugin 1.32 and earlier does not perform hostname validation when connecting to the configured SMTP server.
- Record
CVE-2020-2252- Updated
- 2026-11-02
EUVDEUVD-2022-2778 No score
Jenkins Mailer Plugin 1.32 and earlier does not perform hostname validation when connecting to the configured SMTP server.
- Record
EUVD-2022-2778- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6fr3-286q-q3cr
4.8
Improper Validation of Certificate with Host Mismatch in Jenkins Mailer Plugin
Jenkins Mailer Plugin prior to 1.32.1, 1.31.1, and 1.29.1 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.
Mailer Plugin 1.32.1, 1.31.1, and 1.29.1 validates the SMTP hostname when connecting via TLS by default. In Mailer Plugin 1.32 and earlier, administrators can set the Java system property mail.smtp.ssl.checkserveridentity to true on startup to enable this protection.
In case of problems, this protection can be disabled again by setting the Java system property mail.smtp.ssl.checkserveridentity to false on startup.
- Record
GHSA-6fr3-286q-q3cr- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSV
4.8
Jenkins Mailer Plugin 1.32 and earlier does not perform hostname validation when connecting to the configured SMTP server.
- Record
CVE-2020-2252- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-6fr3-286q-q3cr
4.8
Improper Validation of Certificate with Host Mismatch in Jenkins Mailer Plugin
Jenkins Mailer Plugin prior to 1.32.1, 1.31.1, and 1.29.1 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.
Mailer Plugin 1.32.1, 1.31.1, and 1.29.1 validates the SMTP hostname when connecting via TLS by default. In Mailer Plugin 1.32 and earlier, administrators can set the Java system property mail.smtp.ssl.checkserveridentity to true on startup to enable this protection.
In case of problems, this protection can be disabled again by setting the Java system property mail.smtp.ssl.checkserveridentity to false on startup.
- Record
GHSA-6fr3-286q-q3cr- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVRHSA-2020:4297
7.5
Red Hat Security Advisory: OpenShift Container Platform 4.6.1 package security update
- Record
RHSA-2020:4297- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2020:5102
6.5
Red Hat Security Advisory: OpenShift Container Platform 3.11.318 jenkins-2-plugins security update
- Record
RHSA-2020:5102- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.jenkins-ci.plugins:mailerMaven |
1.32 to 1.32 | 1.32.1 |
org.jenkins-ci.plugins:mailerMaven |
1.30 up to 1.31.1 | 1.31.1 |
org.jenkins-ci.plugins:mailerMaven |
before 1.29.1 | 1.29.1 |
org.jenkins-ci.plugins:mailerMaven |
1.32 up to 1.32.1 | 1.32.1 |
org.jenkins-ci.plugins:mailerMaven |
1.30 up to 1.31.1, plus listed versions 1.31 |
1.31.1 |
org.jenkins-ci.plugins:mailerMaven |
before 1.29.1, plus listed versions 1.11.101.111.121.12-beta-1 Show 26 moreShow less1.131.141.151.161.171.181.191.21.201.211.221.231.23-beta-21.241.251.261.271.281.291.31.41.51.61.71.81.9 |
1.29.1 |
jenkins-2-pluginsRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:4.6.1601368321-1.el8 | 0:4.6.1601368321-1.el8 |
openshift-clientsRed Hat:openshift:4.6::el7 From an advisory covering 9 CVEs |
before 0:4.6.0-202010081244.p0.git.3794.4743d24.el7 | 0:4.6.0-202010081244.p0.git.3794.4743d24.el7 |
openshift-clients-redistributableRed Hat:openshift:4.6::el7 From an advisory covering 9 CVEs |
before 0:4.6.0-202010081244.p0.git.3794.4743d24.el7 | 0:4.6.0-202010081244.p0.git.3794.4743d24.el7 |
openshift-clientsRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:4.6.0-202010081244.p0.git.3794.4743d24.el8 | 0:4.6.0-202010081244.p0.git.3794.4743d24.el8 |
Show 19 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openshift-clients-redistributableRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:4.6.0-202010081244.p0.git.3794.4743d24.el8 | 0:4.6.0-202010081244.p0.git.3794.4743d24.el8 |
containers-commonRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 1:1.1.1-2.rhaos4.6.el8 | 1:1.1.1-2.rhaos4.6.el8 |
podmanRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:1.9.3-3.rhaos4.6.el8 | 0:1.9.3-3.rhaos4.6.el8 |
podman-debuginfoRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:1.9.3-3.rhaos4.6.el8 | 0:1.9.3-3.rhaos4.6.el8 |
podman-debugsourceRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:1.9.3-3.rhaos4.6.el8 | 0:1.9.3-3.rhaos4.6.el8 |
podman-dockerRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:1.9.3-3.rhaos4.6.el8 | 0:1.9.3-3.rhaos4.6.el8 |
podman-remoteRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:1.9.3-3.rhaos4.6.el8 | 0:1.9.3-3.rhaos4.6.el8 |
podman-remote-debuginfoRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:1.9.3-3.rhaos4.6.el8 | 0:1.9.3-3.rhaos4.6.el8 |
podman-testsRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:1.9.3-3.rhaos4.6.el8 | 0:1.9.3-3.rhaos4.6.el8 |
skopeoRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 1:1.1.1-2.rhaos4.6.el8 | 1:1.1.1-2.rhaos4.6.el8 |
skopeo-debuginfoRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 1:1.1.1-2.rhaos4.6.el8 | 1:1.1.1-2.rhaos4.6.el8 |
skopeo-debugsourceRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 1:1.1.1-2.rhaos4.6.el8 | 1:1.1.1-2.rhaos4.6.el8 |
skopeo-testsRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 1:1.1.1-2.rhaos4.6.el8 | 1:1.1.1-2.rhaos4.6.el8 |
runcRed Hat:openshift:4.6::el7 From an advisory covering 9 CVEs |
before 0:1.0.0-81.rhaos4.6.git5b757d4.el7 | 0:1.0.0-81.rhaos4.6.git5b757d4.el7 |
runc-debuginfoRed Hat:openshift:4.6::el7 From an advisory covering 9 CVEs |
before 0:1.0.0-81.rhaos4.6.git5b757d4.el7 | 0:1.0.0-81.rhaos4.6.git5b757d4.el7 |
runcRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:1.0.0-81.rhaos4.6.git5b757d4.el8 | 0:1.0.0-81.rhaos4.6.git5b757d4.el8 |
runc-debuginfoRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:1.0.0-81.rhaos4.6.git5b757d4.el8 | 0:1.0.0-81.rhaos4.6.git5b757d4.el8 |
runc-debugsourceRed Hat:openshift:4.6::el8 From an advisory covering 9 CVEs |
before 0:1.0.0-81.rhaos4.6.git5b757d4.el8 | 0:1.0.0-81.rhaos4.6.git5b757d4.el8 |
jenkins-2-pluginsRed Hat:openshift:3.11::el7 From an advisory covering 3 CVEs |
before 0:3.11.1603460090-1.el7 | 0:3.11.1603460090-1.el7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-2252 is a medium vulnerability (CVSS 4.8) in Jenkins Mailer, published September 16, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.96%, the 61st percentile. Fixed in org.jenkins-ci.plugins:mailer 1.32.1.
References
jenkins.io/security/advisory/2020-09-16
openwall.com/lists/oss-security/2020/09/16/3
nvd.nist.gov/vuln/detail/CVE-2020-2252
github.com/CVEProject/cvelist/blob/16860a328d970faa6e4350b0fa446f64a52e52ca/2020/2xxx/CVE-2020-2252.json
github.com/jenkinsci/mailer-plugin/commit/e1893c6d105669f134ee5c5212ef9f3944d7d00d
github.com/advisories/GHSA-6fr3-286q-q3cr
Show 47 moreShow less
access.redhat.com/errata/RHSA-2020:4297
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1819663
bugzilla.redhat.com/show_bug.cgi?id=1853652
bugzilla.redhat.com/show_bug.cgi?id=1867099
bugzilla.redhat.com/show_bug.cgi?id=1874268
bugzilla.redhat.com/show_bug.cgi?id=1880454
bugzilla.redhat.com/show_bug.cgi?id=1880456
bugzilla.redhat.com/show_bug.cgi?id=1880460
bugzilla.redhat.com/show_bug.cgi?id=1886637
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_4297.json
access.redhat.com/security/cve/CVE-2019-16541
cve.org/CVERecord?id=CVE-2019-16541
nvd.nist.gov/vuln/detail/CVE-2019-16541
jenkins.io/security/advisory/2019-11-21
access.redhat.com/security/cve/CVE-2020-2252
cve.org/CVERecord?id=CVE-2020-2252
access.redhat.com/security/cve/CVE-2020-2254
cve.org/CVERecord?id=CVE-2020-2254
nvd.nist.gov/vuln/detail/CVE-2020-2254
access.redhat.com/security/cve/CVE-2020-2255
cve.org/CVERecord?id=CVE-2020-2255
nvd.nist.gov/vuln/detail/CVE-2020-2255
access.redhat.com/security/cve/CVE-2020-8564
cve.org/CVERecord?id=CVE-2020-8564
nvd.nist.gov/vuln/detail/CVE-2020-8564
github.com/kubernetes/kubernetes/issues/95622
groups.google.com/g/kubernetes-announce/c/ScdmyORnPDk
access.redhat.com/security/cve/CVE-2020-14040
cve.org/CVERecord?id=CVE-2020-14040
nvd.nist.gov/vuln/detail/CVE-2020-14040
github.com/golang/go/issues/39491
groups.google.com/forum
access.redhat.com/security/cve/CVE-2020-14370
cve.org/CVERecord?id=CVE-2020-14370
nvd.nist.gov/vuln/detail/CVE-2020-14370
access.redhat.com/security/cve/CVE-2020-15586
bugzilla.redhat.com/show_bug.cgi?id=1856953
cve.org/CVERecord?id=CVE-2020-15586
nvd.nist.gov/vuln/detail/CVE-2020-15586
groups.google.com/g/golang-announce/c/XZNfaiwgt2w/m/E6gHDs32AQAJ
access.redhat.com/security/cve/CVE-2020-16845
cve.org/CVERecord?id=CVE-2020-16845
nvd.nist.gov/vuln/detail/CVE-2020-16845
groups.google.com/g/golang-announce/c/NyPIaucMgXo
access.redhat.com/errata/RHSA-2020:5102
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_5102.json