LOW 3.1

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)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins » structs
< 338.v848422169819
338.v848422169819

Blast radius

1affected artifacts
212affected versions
1,023dependent artifacts (est.)
99,217dependent versions

58% of the dependent artifacts (599) still pull an affected version in their latest release.

DepthDependent 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

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.