CVE-2020-2181 Secrets are not masked by Jenkins Credentials Binding Plugin in builds without build steps

Medium 6.5 Published Updated

Attackers can view unmasked secrets in build logs when builds contain no steps, exposing sensitive credentials to anyone with log access.

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-2020-2181?

CVE-2020-2181 is a medium-severity vulnerability in Jenkins Credentials Binding Plugin, published on 6 May 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Credentials Binding Plugin 1.22 and earlier does not mask (i.e., replace with asterisks) secrets in the build log when the build contains no build steps.

Weakness: CWE-522

Which versions are affected by CVE-2020-2181?

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.23
org.jenkins-ci.plugins:credentials-binding MavenAll versions1.23

Products include Jenkins Credentials Binding.

How do I fix CVE-2020-2181?

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

Is CVE-2020-2181 being exploited?

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

Sources

Also known as GHSA-43j2-r4v3-m8jp.

Is CVE-2020-2181 in your software?

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

Check your SBOMs for free