Medium, CVSS 4.3MavenPublished
Jenkins NodeJS Plugin improper credential masking vulnerability
CVE-2023-40340 · GHSA-36fg-whr2-g999
- Affected
- Maven org.jenkins-ci.plugins:nodejs < 1.6.1
- Fixed in
- 1.6.1· Vendor fix available
- Issue
- Jenkins NodeJS Plugin integrates with Config File Provider Plugin to specify custom NPM settings, including credentials for authentication, in a Npm config file. NodeJS Plugin 1.6.0 and earlier does not properly mask (i.e., replace with asterisks) credentials specified in the Npm config file in Pipeline build logs. NodeJS Plugin 1.6.1 masks credentials specified in the Npm config file in Pipeline build logs.
Recommended action: Upgrade to 1.6.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.