CWE
295 300
Advisory Published
Advisory Published
Updated

CVE-2020-2187

First published: Wed May 06 2020(Updated: )

Amazon EC2 Plugin connects to Windows agents via HTTPS. Amazon 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. Amazon 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).

Credit: jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com

Affected SoftwareAffected VersionHow to fix
maven/org.jenkins-ci.plugins:ec2<=1.50.1
1.50.2
Jenkins Amazon Ec2<=1.50.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2020-2187?

    The severity of CVE-2020-2187 is medium.

  • How does Jenkins Amazon EC2 Plugin 1.50.1 and earlier accept self-signed certificates?

    Jenkins Amazon EC2 Plugin 1.50.1 and earlier unconditionally accepts self-signed HTTPS certificates.

  • Does Jenkins Amazon EC2 Plugin 1.50.1 and earlier perform hostname validation when connecting to Windows agents?

    No, Jenkins Amazon EC2 Plugin 1.50.1 and earlier does not perform hostname validation when connecting to Windows agents.

  • What is the potential risk of CVE-2020-2187?

    The lack of validation in Jenkins Amazon EC2 Plugin 1.50.1 and earlier could be abused through a man-in-the-middle attack.

  • How can I fix CVE-2020-2187?

    To fix CVE-2020-2187, update to version 1.50.2 of Jenkins Amazon EC2 Plugin or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203