CVE-2022-20613
Cross-Site Request Forgery in Jenkins Mailer Plugin
Description
Jenkins Mailer Plugin prior to 408.vd726a_1130320 and 1.34.2 does not perform a permission check in a method implementing form validation.
This allows attackers with Overall/Read access to use the DNS used by the Jenkins instance to resolve an attacker-specified hostname.
Additionally, this form validation method does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.
Mailer Plugin 408.vd726a_1130320 and 1.34.2 require POST requests and Overall/Administer permission for the affected form validation method.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » mailer | < 1.34.2>= 391.ve4a38c1bcf4b, < 408.vd726a | 1.34.2, 408.vd726a |
Blast radius
42% of the dependent artifacts (160) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 5,980 |
| 2 hops | 12,558 |
| 3 hops | 4,200 |
| 4 hops | 279 |
| 5 hops | 61 |
| 6 hops | 61 |
Most used dependents
- org.jenkins-ci.plugins.workflow » workflow-basic-steps325 usages
- org.jenkins-ci.plugins » git227 usages
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkins-ci.plugins » token-macro134 usages
- org.jenkins-ci.main » maven-plugin131 usages
- org.jenkins-ci.plugins.workflow » workflow-scm-step104 usages
- org.jenkins-ci.main » jenkins-test-harness99 usages
- org.jenkinsci.plugins » pipeline-model-definition68 usages
- org.jenkins-ci.plugins » github-branch-source48 usages
- org.jenkins-ci.plugins » dashboard-view31 usages
- org.jenkins-ci.plugins » envinject25 usages
- com.coravy.hudson.plugins.github » github22 usages
- org.jvnet.hudson.plugins » analysis-test22 usages
- org.jenkins-ci.plugins » cloudbees-bitbucket-branch-source21 usages
- org.jenkins-ci.plugins » promoted-builds20 usages
Computed from the dependency graph of build 20261124.0621 (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-20613 | nvd.nist.gov |
| Package | jenkinsci/mailer-plugin | github.com |
| Web | jenkinsci/mailer-plugin commit 5e6051f | github.com |
| Web | security/advisory/2022-01-12 | jenkins.io |
| Web | security-alerts/cpuapr2022.html | oracle.com |
| Web | lists/oss-security/2022/01/12/6 | openwall.com |
