CVE-2023-41934: Improper masking of credentials in Jenkins Pipeline Maven Integration Plugin
Summary
CVE-2023-41934: Improper masking of credentials in Jenkins Pipeline Maven Integration Plugin. Affects org.jenkins-ci.plugins:pipeline-maven versions < 1331.v003efa_fd6e81. Fixed in 1331.v003efa_fd6e81. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Jenkins Pipeline Maven Integration Plugin is a component of the Jenkins automation server that allows users to define and manage Maven-based build pipelines. It provides integration with Maven settings, allowing users to specify custom settings for their Maven builds. This plugin is widely used in software development and continuous integration workflows.
Vulnerability Detail
The Jenkins Pipeline Maven Integration Plugin version 1330.v18e473854496 and earlier suffers from an improper masking of credentials vulnerability. When the "Treat username as secret" option is enabled, the plugin fails to properly mask usernames of credentials specified in custom Maven settings in Pipeline build logs. This means that the usernames are exposed in plain text in the build logs, potentially leading to unauthorized access to sensitive information. The vulnerability has a CVSS score of 5.3, indicating a moderate severity level.
How To Fix
Minimum fixed version
1331.v003efa_fd6e81
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can disable the "Treat username as secret" option in the Jenkins Pipeline Maven Integration Plugin settings. This will prevent the usernames of credentials from being exposed in the build logs. However, it is recommended to apply the fix by upgrading to the latest version of the plugin.
Conclusion
The Jenkins Pipeline Maven Integration Plugin is affected by an improper masking of credentials vulnerability, which exposes usernames of credentials in plain text in the build logs. Users should upgrade to version 1331.v003efa_fd6e81 or later of the plugin to fix this issue. A temporary workaround is available by disabling the "Treat username as secret" option, but it is recommended to apply the fix by upgrading. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.jenkins-ci.plugins:pipeline-maven →
FAQ
The vulnerability exposes usernames of credentials in plain text in the build logs, potentially allowing unauthorized access to sensitive information.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities in software using just the pom.xml file.
The CVSS score of this vulnerability is 5.3, indicating a moderate severity level.
Yes, a fix is available in version 1331.v003efa_fd6e81 or later of the Jenkins Pipeline Maven Integration Plugin. Users should upgrade to this version to mitigate the vulnerability.
Yes, a temporary workaround is to disable the "Treat username as secret" option in the plugin settings. However, it is recommended to apply the fix by upgrading to the latest version of the plugin.
Related vulnerabilities
Recent vulnerabilities recorded for org.jenkins-ci.plugins:pipeline-maven.