CVE-2022-27195
Sensitive parameter values captured in build metadata files by Jenkins Parameterized Trigger Plugin
Description
Jenkins Parameterized Trigger Plugin 2.43 and earlier captures environment variables passed to builds triggered using Jenkins Parameterized Trigger Plugin, including password parameter values, in their build.xml files. These values are stored unencrypted and can be viewed by users with access to the Jenkins controller file system.
Existing build.xml files are not automatically updated to remove captured environment variables. They need to be manually cleaned up. To help with this, the plugin will report environment variables stored in build.xml as unloadable data in the Old Data Monitor, that allows discarding this data. Build records are only loaded from disk when needed however, so some builds stored in Jenkins may not immediately appear there.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » parameterized-trigger | < 2.43.1 | 2.43.1 |
Blast radius
50% of the dependent artifacts (5) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 277 |
| 2 hops | 17 |
Most used dependents
- org.jenkins-ci.plugins » jenkins-multijob-plugin7 usages
- org.jenkins-ci.plugins » build-pipeline-plugin2 usages
- org.jenkins-ci.plugins » buildgraph-view2 usages
- org.jenkins-ci.plugins » jobgenerator1 usages
- org.jenkins-ci.plugins » vectorcast-execution0 usages
- se.diabol.jenkins.pipeline » delivery-pipeline-plugin0 usages
- org.jenkins-ci.plugins » seed0 usages
- org.jenkins-ci.plugins » parallel-test-executor0 usages
- org.jenkins-ci.plugins » feature-branch-notifier0 usages
- org.zeroturnaround.jenkins » build-flow-test-aggregator0 usages
Computed from the dependency graph of build 20261202.2045 (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-27195 | nvd.nist.gov |
| Package | jenkinsci/parameterized-trigger-plugin | github.com |
| Web | jenkinsci/parameterized-trigger-plugin commit 6b7cd22 | github.com |
| Web | jenkinsci/parameterized-trigger-plugin commit b5ec2b4 | github.com |
| Web | security/advisory/2022-03-15 | jenkins.io |
| Web | lists/oss-security/2022/03/15/2 | openwall.com |
