CVE-2018-1000057 Jenkins Credentials Binding Plugin has Insufficiently Protected Credentials

Medium 4.3 Published Updated

Attackers can recover original passwords from build logs due to improper masking of transformed credential values in Jenkins.

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-2018-1000057?

CVE-2018-1000057 is a medium-severity vulnerability in n/a, published on 9 Feb 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Credentials Binding Plugin 1.14 and earlier masks passwords it provides to build processes in their build logs. Jenkins however transforms provided password values, e.g. replacing environment variable references, which could result in values different from but similar to configured passwords being provided to the build. Those values are not subject to masking, and could allow unauthorized users to recover the original password.

Weakness: CWE-522

Which versions are affected by CVE-2018-1000057?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:credentials-binding. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:credentials-binding MavenAll versions1.15
org.jenkins-ci.plugins:credentials-binding MavenAll versions1.15

Products include Jenkins Credentials Binding.

How do I fix CVE-2018-1000057?

Upgrade org.jenkins-ci.plugins:credentials-binding to 1.15 or later.

Is CVE-2018-1000057 being exploited?

There is no known exploitation of CVE-2018-1000057 in the wild and no public exploit code.

Sources

Also known as GHSA-38xm-xhvj-q2qf.

Is CVE-2018-1000057 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free