CVE-2022-34175
Unauthorized view fragment access in Jenkins
Description
Jenkins uses the Stapler web framework to render its UI views. These views are frequently composed of several view fragments, enabling plugins to extend existing views with more content.
Before SECURITY-534 was fixed in Jenkins 2.186 and LTS 2.176.2, attackers could in some cases directly access a view fragment containing sensitive information, bypassing any permission checks in the corresponding view.
In Jenkins 2.335 through 2.355 (both inclusive), the protection added for SECURITY-534 is disabled for some views. As a result, attackers could in very limited cases directly access a view fragment containing sensitive information, bypassing any permission checks in the corresponding view.
As of publication, the Jenkins security team is unaware of any vulnerable view fragment across the Jenkins plugin ecosystem.
Jenkins 2.356 restores the protection for affected views.
No Jenkins LTS release is affected by this issue, as it was not present in Jenkins 2.332.x and fixed in the 2.346.x line before 2.346.1.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.main » jenkins-core | >= 2.335, < 2.356 | 2.356 |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 662 |
| 2 hops | 134 |
Most used dependents
- org.jenkins-ci.main » jenkins-war62 usages
- io.jenkins.jenkinsfile-runner » setup4 usages
- io.jenkins.jenkinsfile-runner » payload3 usages
- io.jenkins.jenkinsfile-runner » packaging-parent-pom0 usages
- io.jenkins.jenkinsfile-runner » vanilla-package0 usages
- org.jenkins-ci.plugins » reverse-proxy-auth-plugin0 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-34175 | nvd.nist.gov |
| Package | jenkinsci/jenkins | github.com |
| Web | jenkinsci/jenkins commit 37bd66a | github.com |
| Web | security/advisory/2022-06-22 | jenkins.io |
