# CVE-2020-2187: Lack of SSL/TLS certificate and hostname validation in Amazon EC2 Plugin

Source: https://junglewise.ai/threats/cve-2020-2187-lack-of-ssl-tls-certificate-and-hostname-validation-in-amazon-ec2  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2020-2187 · Severity: low · CVSS 3 · Published 2022-05-24

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

Technologies: [org.jenkins-ci.plugins:ec2 (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-ec2). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2020-2187 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-2187 being exploited in the wild.

**How severe is CVE-2020-2187?** Low severity, with a CVSS score of 3, published 24 May 2022.

**Which products and versions are affected?** org.jenkins-ci.plugins:ec2 (Maven) ECOSYSTEM:introduced=0,fixed=1.50.2.

**Is there a fix for CVE-2020-2187?** Yes. org.jenkins-ci.plugins:ec2 (Maven): upgrade to 1.50.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-2187?** Check whether you run org.jenkins-ci.plugins:ec2 (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins:ec2 (Maven): upgrade to 1.50.2 or later

  ```sh
  # set org.jenkins-ci.plugins:ec2 to 1.50.2 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:ec2 (Maven) ECOSYSTEM:introduced=0,fixed=1.50.2

## Identifiers

- CVE-2020-2187
- GHSA-c89c-pvm7-33wj

## Related threats

- [Users with Overall/Read access can enumerate credentials IDs in Amazon EC2 Plugin](https://junglewise.ai/threats/cve-2020-2188-users-with-overall-read-access-can-enumerate-credentials-ids-in)
- [CSRF vulnerability in Amazon EC2 Plugin](https://junglewise.ai/threats/cve-2020-2186-csrf-vulnerability-in-amazon-ec2-plugin)
- [Missing SSH host key validation in Jenkins Amazon EC2 Plugin](https://junglewise.ai/threats/cve-2020-2185-missing-ssh-host-key-validation-in-jenkins-amazon-ec2-plugin)
- [Missing permission checks in Jenkins Amazon EC2 Plugin](https://junglewise.ai/threats/cve-2020-2091-missing-permission-checks-in-jenkins-amazon-ec2-plugin)
- [CSRF vulnerability in Jenkins Amazon EC2 Plugin](https://junglewise.ai/threats/cve-2020-2090-csrf-vulnerability-in-jenkins-amazon-ec2-plugin)
