{"id":"CVE-2020-2187","aliases":[],"url":"https://o3.security/vulnerability/CVE-2020-2187","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).","published":"2022-05-24T17:17:15Z","modified":"2024-02-16T08:23:14.908617Z","cvss":{"score":5.6,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.jenkins-ci.plugins:ec2","fixedVersion":"1.50.2"}],"fix":{"url":"https://github.com/jenkinsci/ec2-plugin/commit/4c9f03ae202e4730fd54eda40771fa4d3873e358","label":"jenkinsci/ec2-plugin@4c9f03a"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-02-16T08:23:14.908617Z"}}