CVE-2024-39458 Exposure of secrets through system log in Jenkins Structs Plugin
Attackers can read secrets from system logs when Jenkins Structs Plugin fails to configure a build step, exposing sensitive parameters.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-39458?
CVE-2024-39458 is a low-severity vulnerability in Jenkins Structs Plugin, published on 26 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
When Jenkins 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, potentially resulting in accidental exposure of secrets through the default system log.
Weakness: CWE-209
Which versions are affected by CVE-2024-39458?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:structs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:structs Maven | All versions | 338.v848422169819 |
org.jenkins-ci.plugins:structs Maven | All versions | 338.v848422169819 |
Products include Jenkins Structs.
How do I fix CVE-2024-39458?
Upgrade org.jenkins-ci.plugins:structs to 338.v848422169819 or later.
Is CVE-2024-39458 being exploited?
There is no known exploitation of CVE-2024-39458 in the wild and no public exploit code.
Sources
Also known as GHSA-xfx3-cr74-x3cv.