CVE-2023-40339 Jenkins Config File Provider Plugin improper credential masking vulnerability
Attackers can read sensitive credentials from build logs because the Jenkins Config File Provider Plugin fails to mask them.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-40339?
CVE-2023-40339 is a high-severity vulnerability in Jenkins Config File Provider Plugin, published on 16 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Jenkins Config File Provider Plugin 952.va_544a_6234b_46 and earlier does not mask (i.e., replace with asterisks) credentials specified in configuration files when they're written to the build log.
Which versions are affected by CVE-2023-40339?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:config-file-provider. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:config-file-provider Maven | All versions | 953.v0432a |
org.jenkins-ci.plugins:config-file-provider Maven | All versions | 953.v0432a |
Products include Jenkins Config File Provider.
How do I fix CVE-2023-40339?
Upgrade org.jenkins-ci.plugins:config-file-provider to 953.v0432a or later.
Is CVE-2023-40339 being exploited?
There is no known exploitation of CVE-2023-40339 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Config File Provider Plugin
- CVE-2021-21642 XML External Entity Reference vulnerability in Jenkins Config File Provider Plugin
- CVE-2018-1000414 CSRF vulnerability in Config File Provider Plugin
- CVE-2021-21643 Incorrect permission checks in Jenkins Config File Provider Plugin allow enumerating credentials IDs
- CVE-2017-1000104 Improper Privilege Management in Jenkins Config File Provider Plugin
- CVE-2021-21644 CSRF vulnerability in Jenkins Config File Provider Plugin allows deleting configuration files
Sources
Also known as GHSA-pv2g-vm98-vjxf.