CVE-2022-43409
Stored XSS vulnerability in Jenkins Pipeline: Supporting APIs Plugin
Description
Pipeline: Supporting APIs Plugin provides a feature to add hyperlinks, that send POST requests when clicked, to build logs. These links are used by Pipeline: Input Step Plugin to allow users to proceed or abort the build, or by Pipeline: Job Plugin to allow users to forcibly terminate the build after aborting it.
Pipeline: Supporting APIs Plugin 838.va_3a_087b_4055b and earlier does not sanitize or properly encode URLs of these hyperlinks in build logs.
This results in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to create Pipelines.
Pipeline: Supporting APIs Plugin 839.v35e2736cfd5c properly encodes URLs of these hyperlinks in build logs.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins.workflow » workflow-support | < 839.v35e2736cfd5c | 839.v35e2736cfd5c |
Blast radius
38% of the dependent artifacts (157) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,762 |
| 2 hops | 16,416 |
| 3 hops | 5,100 |
| 4 hops | 1,383 |
| 5 hops | 72 |
| 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-basic-steps325 usages
- org.jenkins-ci.plugins.workflow » workflow-durable-task-step294 usages
- 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 » github-branch-source48 usages
- org.jenkins-ci.plugins » aws-credentials33 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-2022-43409 | nvd.nist.gov |
| Package | jenkinsci/workflow-support-plugin | github.com |
| Web | jenkinsci/workflow-support-plugin commit 35e2736 | github.com |
| Web | security/advisory/2022-10-19 | jenkins.io |
| Web | lists/oss-security/2022/10/19/3 | openwall.com |
