jenkinsci/ec2-plugin · Security

Missing SSH host key validation in Jenkins Amazon EC2 Plugin

GHSA ID
GHSA-q8qq-2p5p-rg44
CVE ID
CVE-2020-2185
Severity
medium
Published
Updated
CVSS
5.6 · CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v3
5.6 · CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Description

Jenkins Amazon EC2 Plugin 1.50.1 and earlier does not use SSH host key validation when connecting to agents. This lack of validation could be abused using a man-in-the-middle attack to intercept these connections to build agents.

Jenkins Amazon EC2 Plugin 1.50.2 provides strategies for performing host key validation for administrators to select the one that meets their security needs. It includes assistance for administrators to migrate to a new, more secure strategy. For more information see the plugin documentation.

CWEs

References