CVE-2023-41934: Improper masking of credentials in Jenkins Pipeline Maven Integration Plugin

Summary

06/09/2023
Yes i
Moderate
5.3

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback