CVE-2024-39458
Exposure of secrets through system log in Jenkins Structs Plugin
Description
Structs Plugin provides utility functionality used, e.g., in Pipeline to instantiate and configure build steps, typically before their execution.
When Structs Plugin 337.v1b_04ea_4df7c8 and earlier fails to configure a build step, it logs a warning message containing diagnostic information that may contain secrets passed as step parameters.
This can result in accidental exposure of secrets through the default system log.
Structs Plugin 338.v848422169819 inspects the types of actual parameters before logging these warning messages, and limits detailed diagnostic information to FINE level log messages if secrets are involved. These log messages are not displayed in the default Jenkins system log.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » structs | < 338.v848422169819 | 338.v848422169819 |
Blast radius
58% of the dependent artifacts (599) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 27,308 |
| 2 hops | 48,727 |
| 3 hops | 12,715 |
| 4 hops | 5,255 |
| 5 hops | 1,615 |
| 6 hops | 3,597 |
Most used dependents
- org.jenkins-ci.plugins » credentials591 usages
- org.jenkins-ci.plugins.workflow » workflow-step-api504 usages
- org.jenkins-ci.plugins.workflow » workflow-job470 usages
- org.jenkins-ci.plugins.workflow » workflow-cps439 usages
- org.jenkins-ci.plugins.workflow » workflow-basic-steps325 usages
- org.jenkins-ci.plugins.workflow » workflow-durable-task-step294 usages
- org.jenkins-ci.plugins.workflow » workflow-api285 usages
- org.jenkins-ci.plugins » junit256 usages
- org.jenkins-ci.plugins.workflow » workflow-support253 usages
- org.jenkins-ci.plugins » plain-credentials238 usages
- org.jenkins-ci.plugins » git227 usages
- org.jenkins-ci.plugins » matrix-project204 usages
- org.jenkins-ci.plugins » scm-api193 usages
- org.jenkins-ci.plugins » cloudbees-folder144 usages
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
Computed from the dependency graph of build 20261127.1117 (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-2024-39458 | nvd.nist.gov |
| Package | jenkinsci/structs-plugin | github.com |
| Web | jenkinsci/structs-plugin commit 8484221 | github.com |
| Web | security/advisory/2024-06-26 | jenkins.io |
| Web | lists/oss-security/2024/06/26/2 | openwall.com |
