Medium

Lack of SSL/TLS certificate and hostname validation in Amazon EC2 Plugin

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 11:22

Amazon EC2 Plugin connects to Windows agents via HTTPS.

Amazon EC2 Plugin 1.50.1 and earlier unconditionally accepts self-signed HTTPS certificates and does not perform hostname validation when connecting to Windows agents. This lack of validation could be abused using a man-in-the-middle attack to intercept these connections to build agents.

Amazon EC2 Plugin 1.50.2 by default no longer accepts self-signed HTTPS certificates and performs hostname validation. A new configuration option allows restoring the previous, unsafe behavior. For more information see the plugin documentation.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.jenkins-ci.plugins:ec2 < 1.50.2 1.50.2

References

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

Sources and licenses

OSV / GitHub Advisory Database - GHSA-c89c-pvm7-33wj - CC BY 4.0

Vulnerability history: org.jenkins-ci.plugins:ec2

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.

Total entries
8
First → latest
05.2022 05.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 5
  • Low 2

Disclosures per year

  1. 2022: 8
  2. 2023: 0
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Lack of SSL/TLS certificate and hostname validation in Amazon EC2 Plugin this entry
    Medium · 5.6 CVE-2020-2187 < 1.50.2 1.50.2
  2. Medium · 5.6 CVE-2020-2185 < 1.50.2 1.50.2
  3. Low · 3.1 CVE-2020-2186 < 1.50.2 1.50.2
  4. Medium · 5.0 CVE-2020-2091 < 1.48 1.48
  5. Low · 3.1 CVE-2020-2090 < 1.48 1.48
  6. High · 8.8 CVE-2017-1000502 < 1.38 1.38

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.