GHSA-5mpf-hw8f-86w9
Sensitive parameter values captured in build metadata files by Jenkins Parameterized Trigger Plugin
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.jenkins-ci.plugins:parameterized-trigger | < 2.43.1 | 2.43.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-27195
- https://github.com/jenkinsci/parameterized-trigger-plugin/commit/6b7cd2272cbd9f97416bff7ea19132b9aad0898d
- https://github.com/jenkinsci/parameterized-trigger-plugin/commit/b5ec2b48df3c4f7b4999c4edf137b34fbea694fd
- https://github.com/jenkinsci/parameterized-trigger-plugin
- https://www.jenkins.io/security/advisory/2022-03-15/#SECURITY-2185
- http://www.openwall.com/lists/oss-security/2022/03/15/2