CVE-2017-2607
Improper Neutralization of Input During Web Page Generation in Jenkins
Description
Jenkins before versions 2.44 and 2.32.2 is vulnerable to a persisted cross-site scripting vulnerability in console notes (SECURITY-382). Jenkins allows plugins to annotate build logs, adding new content or changing the presentation of existing content while the build is running. Malicious Jenkins users, or users with SCM access, could configure jobs or modify build scripts such that they print serialized console notes that perform cross-site scripting attacks on Jenkins users viewing the build logs.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.main » jenkins-core | < 2.32.2>= 2.34, < 2.44 | 2.32.2, 2.44 |
Blast radius
40% of the dependent artifacts (34) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,038 |
| 2 hops | 642 |
| 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
- org.jenkins-ci.tests » plugins-compat-tester-model3 usages
- io.jenkins.blueocean » blueocean3 usages
- org.marvelution.jji » jenkins-jira-plugin3 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-2607 | nvd.nist.gov |
| Package | jenkinsci/jenkins | github.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | bid/95963 | securityfocus.com |
