CVE-2022-20617
OS command execution vulnerability in Jenkins Docker Commons Plugin
Description
Jenkins Docker Commons Plugin 1.17 and earlier does not sanitize the name of an image or a tag, resulting in an OS command execution vulnerability exploitable by attackers with Item/Configure permission or able to control the contents of a previously configured job's SCM repository.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » docker-commons | < 1.18 | 1.18 |
Blast radius
45% of the dependent artifacts (42) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,221 |
| 2 hops | 341 |
| 3 hops | 1,347 |
| 4 hops | 3,104 |
| 5 hops | 43 |
Most used dependents
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkinsci.plugins » pipeline-model-definition68 usages
- org.csanchez.jenkins.plugins » kubernetes11 usages
- org.jenkins-ci.plugins » docker-workflow11 usages
- io.jenkins.blueocean » blueocean-pipeline-api-impl9 usages
- io.jenkins.blueocean » blueocean-events4 usages
- io.jenkins.plugins » pipeline-as-yaml4 usages
- io.jenkins.blueocean » blueocean3 usages
- org.jenkinsci.plugins » kubernetes-credentials3 usages
- io.jenkins.blueocean » blueocean-dashboard3 usages
- io.jenkins.blueocean » blueocean-github-pipeline2 usages
- io.jenkins.blueocean » blueocean-git-pipeline2 usages
- org.jenkins-ci.plugins » kubernetes-cd2 usages
- io.jenkins.blueocean » blueocean-personalization2 usages
- org.jenkins-ci.plugins » dockerhub-notification2 usages
Computed from the dependency graph of build 20261125.2201 (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-2022-20617 | nvd.nist.gov |
| Package | jenkinsci/docker-commons-plugin | github.com |
| Web | jenkinsci/docker-commons-plugin commit c069b79 | github.com |
| Web | docker-commons | plugins.jenkins.io |
| Web | security/advisory/2022-01-12 | jenkins.io |
| Web | lists/oss-security/2022/01/12/6 | openwall.com |
