CVE-2023-32977
Jenkins Pipeline: Job Plugin vulnerable to stored Cross-site Scripting
Description
Jenkins Pipeline: Job Plugin 1292.v27d8cc3e2602 and earlier does not escape the display name of the build that caused an earlier build to be aborted, when "Do not allow concurrent builds" is set.
This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to set build display names immediately.
The Jenkins security team is not aware of any plugins that allow the exploitation of this vulnerability, as the build name must be set before the build starts. Pipeline: Job Plugin 1295.v395eb_7400005 escapes the display name of the build that caused an earlier build to be aborted.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins.workflow » workflow-job | < 1295.v395eb | 1295.v395eb |
Blast radius
38% of the dependent artifacts (111) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 10,609 |
| 2 hops | 11,352 |
| 3 hops | 669 |
| 4 hops | 88 |
| 5 hops | 61 |
| 6 hops | 183 |
Most used dependents
- org.jenkins-ci.plugins » junit256 usages
- org.jenkins-ci.plugins » matrix-project204 usages
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkins-ci.plugins » token-macro134 usages
- org.jenkins-ci.plugins » mailer132 usages
- org.jenkins-ci.main » maven-plugin131 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 » dashboard-view31 usages
- org.jenkins-ci.plugins » pipeline-build-step30 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-2023-32977 | nvd.nist.gov |
| Web | jenkinsci/workflow-job-plugin commit 395eb74 | github.com |
| Web | security/advisory/2023-05-16 | jenkins.io |
