CVE-2017-1000087
Jenkins GitHub Branch Source Plugin allows any user with Overall/Read permission to get list of valid credentials IDs
Description
GitHub Branch Source provides a list of applicable credential IDs to allow users configuring a job to select the one they'd like to use. This functionality did not check permissions, allowing any user with Overall/Read permission to get a list of valid credentials IDs. Those could be used as part of an attack to capture the credentials using another vulnerability. An enumeration of credentials IDs in this plugin now requires the permission to have Extended Read permission (when that permission is enabled; otherwise Configure permission) to the job in whose context credentials are being accessed. If no job context exists, Overall/Administer permission is required.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » github-branch-source | < 2.2.0-alpha-1 | 2.2.0-alpha-1 |
Blast radius
16% of the dependent artifacts (3) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 189 |
| 2 hops | 149 |
| 3 hops | 79 |
Most used dependents
- io.jenkins.blueocean » blueocean-rest-impl12 usages
- io.jenkins.blueocean » blueocean-pipeline-api-impl9 usages
- io.jenkins.blueocean » blueocean-events4 usages
- org.jenkins-ci.plugins » github-oauth4 usages
- org.jenkins-ci.plugins » github-organization-folder4 usages
- io.jenkins.blueocean » blueocean3 usages
- io.jenkins.blueocean » blueocean-dashboard3 usages
- org.jenkins-ci.plugins » pipeline-github-lib3 usages
- io.jenkins.blueocean » blueocean-personalization2 usages
- io.jenkins.blueocean » blueocean-github-pipeline2 usages
- io.jenkins.blueocean » blueocean-git-pipeline2 usages
- io.jenkins.blueocean » blueocean-pipeline-editor1 usages
- io.jenkins.blueocean » blueocean-bitbucket-pipeline1 usages
- org.jenkins-ci.plugins » pipeline-github1 usages
- org.jenkins-ci.plugins » pipeline-githubnotify-step0 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-2017-1000087 | nvd.nist.gov |
| Package | jenkinsci/github-branch-source-plugin | github.com |
| Web | security/advisory/2017-07-10 | jenkins.io |
