CVE-2017-1000393
OS Command Injection in Jenkins
Description
Jenkins 2.73.1 and earlier, 2.83 and earlier users with permission to create or configure agents in Jenkins could configure a launch method called 'Launch agent via execution of command on master'. This allowed them to run arbitrary shell commands on the master node whenever the agent was supposed to be launched. Configuration of this launch method now requires the Run Scripts permission typically only granted to administrators.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.main » jenkins-core | < 2.73.2>= 2.74, < 2.84 | 2.73.2, 2.84 |
Blast radius
41% of the dependent artifacts (35) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,229 |
| 2 hops | 659 |
| 3 hops | 11 |
| 4 hops | 81 |
| 5 hops | 26 |
| 6 hops | 66 |
Most used dependents
- org.jenkins-ci.main » jenkins-test-harness99 usages
- org.jenkins-ci.plugins » job-dsl71 usages
- org.jenkins-ci.main » jenkins-war62 usages
- org.jenkins-ci.main » jenkins-test-harness-tools37 usages
- org.jenkins-ci.plugins » config-file-provider32 usages
- io.jenkins.blueocean » blueocean-rest-impl12 usages
- org.csanchez.jenkins.plugins » kubernetes11 usages
- io.jenkins.blueocean » blueocean-pipeline-api-impl9 usages
- org.jenkins-ci.lib » xtrigger-lib9 usages
- org.jenkins-ci.plugins » ws-cleanup6 usages
- org.jenkins-ci.plugins » resource-disposer6 usages
- io.jenkins.blueocean » blueocean-events4 usages
- com.synopsys.integration » jenkins-common4 usages
- org.jenkins-ci.tests » plugins-compat-tester-model3 usages
- io.jenkins.blueocean » blueocean3 usages
Computed from the dependency graph of build 20261202.2045 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2017-1000393 | nvd.nist.gov |
| Package | jenkinsci/jenkins | github.com |
| Web | jenkinsci/jenkins commit 67f68c1 | github.com |
| Web | jenkinsci/jenkins commit d7ea3f4 | github.com |
| Web | security/advisory/2017-10-11 | jenkins.io |
