GitHub Advisoryadvisory · Maven
GHSA-q8qq-2p5p-rg44 Missing SSH host key validation in Jenkins Amazon EC2 Plugin
MEDIUM
Official page ↗
- Aliases
- CVE-2020-2185
- 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-300
- Reviewed
- 2022-12-16
Affected packages
• Maven org.jenkins-ci.plugins:ec2: < 1.50.2 → fixed in 1.50.2
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.
Related
Alias · CVE (1)
- CVE-2020-2185 Jenkins Amazon EC2 Plugin 1.50.1 and earlier does not validate SSH host keys when connecting agents, enabling man-in-the-middle attacks. vulnerability
Weakness · CWE (1)
- CWE-300 Channel Accessible by Non-Endpoint weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-2185 advisory
- https://github.com/jenkinsci/ec2-plugin/commit/4c9f03ae202e4730fd54eda40771fa4d3873e358 web
- https://github.com/jenkinsci/ec2-plugin package
- https://jenkins.io/security/advisory/2020-05-06/#SECURITY-381 web
- http://www.openwall.com/lists/oss-security/2020/05/06/3 web