MODERATE 4.3

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)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » mailer
< 1.34.2>= 391.ve4a38c1bcf4b, < 408.vd726a
1.34.2, 408.vd726a

Blast radius

1affected artifacts
76affected versions
376dependent artifacts (est.)
23,139dependent versions

42% of the dependent artifacts (160) still pull an affected version in their latest release.

DepthDependent versions
Direct
5,980
2 hops
12,558
3 hops
4,200
4 hops
279
5 hops
61
6 hops
61

Most used dependents

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.