CVE-2018-1000058
Arbitrary code execution due to incomplete sandbox protection in Pipeline: Supporting APIs Plugin
Description
Jenkins Pipeline: Supporting APIs Plugin 2.17 and earlier have an arbitrary code execution due to incomplete sandbox protection: Methods related to Java deserialization like readResolve implemented in Pipeline scripts were not subject to sandbox protection, and could therefore execute arbitrary code. This could be exploited e.g. by regular Jenkins users with the permission to configure Pipelines in Jenkins, or by trusted committers to repositories containing Jenkinsfiles.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins.workflow » workflow-support | < 2.18 | 2.18 |
Blast radius
36% of the dependent artifacts (87) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 997 |
| 2 hops | 4,609 |
| 3 hops | 2,209 |
| 4 hops | 144 |
| 5 hops | 61 |
| 6 hops | 61 |
Most used dependents
- org.jenkins-ci.plugins.workflow » workflow-job470 usages
- org.jenkins-ci.plugins.workflow » workflow-cps439 usages
- org.jenkins-ci.plugins.workflow » workflow-durable-task-step294 usages
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkins-ci.plugins » token-macro134 usages
- org.jenkins-ci.plugins.workflow » workflow-multibranch110 usages
- io.jenkins » configuration-as-code108 usages
- org.jenkinsci.plugins » pipeline-model-definition68 usages
- org.jenkins-ci.plugins » aws-credentials33 usages
- org.jenkins-ci.plugins » pipeline-build-step30 usages
- org.jenkins-ci.plugins.workflow » workflow-cps-global-lib25 usages
- org.jenkins-ci.plugins » pipeline-input-step22 usages
- org.jvnet.hudson.plugins » analysis-test22 usages
- org.jenkins-ci.plugins.pipeline-stage-view » pipeline-rest-api20 usages
- org.jenkinsci.plugins » pipeline-model-extensions18 usages
Computed from the dependency graph of build 20261127.1117 (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-2018-1000058 | nvd.nist.gov |
| Web | security/advisory/2018-02-05 | jenkins.io |
| Web | bid/103034 | securityfocus.com |
