GitHub Advisoryadvisory · Maven

GHSA-c89c-pvm7-33wj Lack of SSL/TLS certificate and hostname validation in Amazon EC2 Plugin

MEDIUM Published 2022-05-24 Modified 2022-12-16 Official page ↗
Aliases
CVE-2020-2187
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:ec2
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-295
Reviewed
2022-12-16

Affected packages

• Maven org.jenkins-ci.plugins:ec2: < 1.50.2 → fixed in 1.50.2

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-2187 Jenkins Amazon EC2 Plugin 1.50.1 and earlier unconditionally accepts self-signed certificates and does not perform hostname validation,… vulnerability

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References