CVE-2017-1000502: OS Command Injection

Published 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.

Affected Software

2 affected componentsFixes available
maven/org.jenkins-ci.plugins:ec2<=1.37
1.38
Jenkins Ec2 Jenkins<=1.37

Event History

Jan 24, 2018
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
May 14, 2022
Advisory Published
via GitHub·03:45 AM

Frequently Asked Questions

1

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.

2

How do I fix CVE-2017-1000502?

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

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203