CVE-2017-1000502 json
Arbitrary shell command execution in Jenkins EC2 Plugin
published 2018-01-24 8 y ago modified 2026-06-17 4 mo ago also GHSA-wp79-cpv2-9g7m , EUVD-2022-5612
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.jenkins-ci.plugins:ec2 1.38
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-1000502 updated cvss 9.9
jenkins: Users with agent related permissions in EC2 Plugin are able to run arbitrary shell commands on master node
-
Red Hat OpenShift Enterprise 3 jenkinsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.59% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:ec2 | <1.38 |
1.38 |
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
jenkins.io
/security/advisory/2017-12-06/
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-1000502
advisory
-
jenkins.io
/security/advisory/2017-12-06
web
Sources
- CVE List CVE-2017-1000502
- GitHub Advisory GHSA-wp79-cpv2-9g7m
- NVD CVE-2017-1000502
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.