{"id":"CVE-2020-2187","aliases":["EUVD-2022-3533","GHSA-c89c-pvm7-33wj"],"status":"published","title":"Lack of SSL/TLS certificate and hostname validation in Amazon EC2 Plugin","description":"Jenkins Amazon EC2 Plugin 1.50.1 and earlier unconditionally accepts self-signed certificates and does not perform hostname validation, enabling man-in-the-middle attacks.","severity":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00411,"percentile":0.35657,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2020-05-06T12:45:25Z","modified":"2026-06-17T03:11:57Z","fixes":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:ec2","fixed_in":["1.50.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:ec2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.50.1"},{"fixed":"1.50.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"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"]}],"products":[{"vendor":"jenkins","product":"amazon_ec2"},{"vendor":"jenkins project","product":"jenkins amazon ec2 plugin"}],"references":[{"url":"https://jenkins.io/security/advisory/2020-05-06/#SECURITY-1528","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2020/05/06/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-2187","tags":["advisory"]},{"url":"https://github.com/jenkinsci/ec2-plugin/commit/4c9f03ae202e4730fd54eda40771fa4d3873e358","tags":["web"]},{"url":"https://github.com/advisories/GHSA-c89c-pvm7-33wj"},{"url":"https://github.com/jenkinsci/ec2-plugin","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-2187","description":"Jenkins Amazon EC2 Plugin 1.50.1 and earlier unconditionally accepts self-signed certificates and does not perform hostname validation, enabling man-in-the-middle attacks.","status":"published","published":"2020-05-06T12:45:25Z","modified":"2024-08-04T07:01:40.945Z","updated_at":"2026-11-02T14:35:51.206854Z"}],"euvd":[{"id":"EUVD-2022-3533","description":"Jenkins Amazon EC2 Plugin 1.50.1 and earlier unconditionally accepts self-signed certificates and does not perform hostname validation, enabling man-in-the-middle attacks.","status":"published","published":"2020-05-06T12:45:25Z","modified":"2024-08-04T07:01:40Z","updated_at":"2026-11-03T03:08:10.95725Z"}],"ghsa":[{"id":"GHSA-c89c-pvm7-33wj","title":"Lack of SSL/TLS certificate and hostname validation in Amazon EC2 Plugin","description":"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).","status":"published","published":"2022-05-24T17:17:15Z","modified":"2023-12-20T13:30:15Z","cvss":[{"version":"3.0","score":5.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:37:27.414424Z"}],"nvd":[{"id":"CVE-2020-2187","description":"Jenkins Amazon EC2 Plugin 1.50.1 and earlier unconditionally accepts self-signed certificates and does not perform hostname validation, enabling man-in-the-middle attacks.","status":"published","published":"2020-05-06T13:15:14.493Z","modified":"2026-06-17T03:11:57.087Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:05:59.718774Z"}],"osv":[{"id":"GHSA-c89c-pvm7-33wj","title":"Lack of SSL/TLS certificate and hostname validation in Amazon EC2 Plugin","description":"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).","status":"published","published":"2022-05-24T17:17:15Z","modified":"2024-02-16T08:23:14.908617Z","cvss":[{"version":"3.0","score":5.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:46:44.927642Z"}]}}
