CVE-2024-39458: Exposure of secrets through system log in Jenkins Structs Plugin
Structs Plugin provides utility functionality used, e.g., in Pipeline to instantiate and configure build steps, typically before their execution. When Structs Plugin 337.v1b04ea4df7c8 and earlier fails to configure a build step, it logs a warning message containing diagnostic information that may contain secrets passed as step parameters.
Published Jun 26, 2024 · Updated Nov 6, 2024
Affected packages
org.jenkins-ci.plugins:structs
- Ecosystem
- Maven
- Affected
- < 338.v848422169819
- Fixed in
- 338.v848422169819
- Check
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins:structs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
