CVE-2023-39152 Incorrect control flow in Jenkins Gradle Plugin breaks credentials masking in the build log
Attackers can view unmasked credentials in build logs due to incorrect control flow in the Jenkins Gradle Plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-39152?
CVE-2023-39152 is a medium-severity vulnerability in Jenkins Gradle Plugin, published on 26 Jul 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Always-incorrect control flow implementation in Jenkins Gradle Plugin 2.8 may result in credentials not being masked (i.e., replaced with asterisks) in the build log in some circumstances.
Weakness: CWE-670
Which versions are affected by CVE-2023-39152?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:gradle. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:gradle Maven | All versions | 2.8.1 |
org.jenkins-ci.plugins:gradle Maven | All versions | 2.8.1 |
Products include Jenkins Gradle.
How do I fix CVE-2023-39152?
Upgrade org.jenkins-ci.plugins:gradle to 2.8.1 or later.
Is CVE-2023-39152 being exploited?
There is no known exploitation of CVE-2023-39152 in the wild and no public exploit code.
Sources
Also known as GHSA-pvjf-4hfg-wr84.