CVE-2020-2312 Password written to the build log by Jenkins SQLPlus Script Runner Plugin

Medium 6.5 Published Updated

Attackers can read sensitive passwords from build logs because the Jenkins SQLPlus Script Runner Plugin fails to mask command-line arguments.

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-2312?

CVE-2020-2312 is a medium-severity vulnerability in Jenkins SQLPlus Script Runner Plugin, published on 4 Nov 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins SQLPlus Script Runner Plugin 2.0.12 and earlier does not mask a password provided as command line argument in build logs.

Which versions are affected by CVE-2020-2312?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:sqlplus-script-runner MavenAll versions2.0.13
org.jenkins-ci.plugins:sqlplus-script-runner MavenAll versions2.0.13

Products include Jenkins Sqlplus Script Runner.

How do I fix CVE-2020-2312?

Upgrade org.jenkins-ci.plugins:sqlplus-script-runner to 2.0.13 or later.

Is CVE-2020-2312 being exploited?

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

Sources

Also known as GHSA-rwh3-5g7v-3c5m.

Is CVE-2020-2312 in your software?

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

Check your SBOMs for free