CWE
78
Advisory Published
Advisory Published
Updated

CVE-2017-1000502: OS Command Injection

First published: Wed Jan 24 2018(Updated: )

Users with permission to create or configure agents in Jenkins 1.37 and earlier could configure an EC2 agent to run arbitrary shell commands on the master node whenever the agent was supposed to be launched. Configuration of these agents now requires the 'Run Scripts' permission typically only granted to administrators.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Jenkins Ec2<=1.37
maven/org.jenkins-ci.plugins:ec2<=1.37
1.38
<=1.37

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-2017-1000502?

    CVE-2017-1000502 is considered a high severity vulnerability due to its potential to allow unauthorized execution of shell commands.

  • How do I fix CVE-2017-1000502?

    To fix CVE-2017-1000502, upgrade Jenkins EC2 plugin to version 1.38 or later.

  • Who is affected by CVE-2017-1000502?

    CVE-2017-1000502 affects users with permissions to create or configure agents in Jenkins versions 1.37 and earlier.

  • What types of commands can be run due to CVE-2017-1000502?

    CVE-2017-1000502 allows the execution of arbitrary shell commands on the master node when launching misconfigured EC2 agents.

  • What permissions must be granted to mitigate CVE-2017-1000502?

    Mitigating CVE-2017-1000502 requires granting the 'Run Scripts' permission to control agent configuration.

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