{"id":"GHSA-c89c-pvm7-33wj","summary":"Lack of SSL/TLS certificate and hostname validation in Amazon EC2 Plugin","details":"Amazon EC2 Plugin connects to Windows agents via HTTPS.\n\nAmazon 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.\n\nAmazon 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](https://github.com/jenkinsci/ec2-plugin/#securing-the-connection-to-windows-amis).","aliases":["CVE-2020-2187"],"modified":"2024-02-16T08:23:14.908617Z","published":"2022-05-24T17:17:15Z","database_specific":{"cwe_ids":["CWE-295"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-12-16T22:48:49Z","nvd_published_at":"2020-05-06T13:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-2187"},{"type":"WEB","url":"https://github.com/jenkinsci/ec2-plugin/commit/4c9f03ae202e4730fd54eda40771fa4d3873e358"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/ec2-plugin"},{"type":"WEB","url":"https://jenkins.io/security/advisory/2020-05-06/#SECURITY-1528"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2020/05/06/3"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:ec2","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/ec2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.50.2"}]}],"versions":["1.11","1.12","1.13","1.14","1.15","1.16","1.17","1.18","1.19","1.20","1.21","1.22","1.23","1.24","1.25","1.26","1.27","1.28","1.29","1.30","1.31","1.32","1.33","1.34","1.35","1.36","1.37","1.38","1.39","1.40","1.40.1","1.41","1.41.1","1.42","1.42.1","1.42.2","1.43","1.44","1.44.1","1.45","1.46","1.46.1","1.46.2","1.46.3","1.46.4","1.47","1.48","1.49","1.49.1","1.49.2","1.49.3","1.50","1.50.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 1.50.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c89c-pvm7-33wj/GHSA-c89c-pvm7-33wj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}