Medium

Missing hostname validation in Email Extension Plugin

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 11:22

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.jenkins-ci.plugins:email-ext < 2.76 2.76

References

CVSS score 4.8/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness (CWE)
CWE-295
Platform
Java / Kotlin (Maven)
Package
org.jenkins-ci.plugins:email-ext
Disclosed
24.05.2022
Updated
11.10.2026 11:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-4qrj-99r6-jfrh - CC BY 4.0

Vulnerability history: org.jenkins-ci.plugins:email-ext

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (12) in the archive
Total entries
12
First → latest
05.2022 05.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 2
  • Medium 7
  • Low 1

Disclosures per year

  1. 2022: 6
  2. 2023: 5
  3. 2024: 0
  4. 2025: 0
  5. 2026: 1
Severity:
  1. Critical · 9.9 CVE-2023-25765 < 2.94 2.94
  2. Missing hostname validation in Email Extension Plugin this entry
    Medium · 4.8 CVE-2020-2253 < 2.76 2.76
  3. High · 8.1 CVE-2018-1000417 < 1.1 1.1
  4. Critical · 9.9 CVE-2019-1003032 < 2.65 2.65

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.