CVE-2018-1999036 Jenkins SSH Agent Plugin exposes SSH private key password to users with permission to read the build log

Medium 6.5 Published Updated

Attackers with build log read access can view exposed SSH private key passwords in Jenkins SSH Agent Plugin.

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

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

Official description

An exposure of sensitive information vulnerability exists in Jenkins SSH Agent Plugin 1.15 and earlier in SSHAgentStepExecution.java that exposes the SSH private key password to users with permission to read the build log.

Weakness: CWE-532

Which versions are affected by CVE-2018-1999036?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:ssh-agent MavenAll versions1.16
org.jenkins-ci.plugins:ssh-agent MavenAll versions1.16

Products include Jenkins Ssh Agent.

How do I fix CVE-2018-1999036?

Upgrade org.jenkins-ci.plugins:ssh-agent to 1.16 or later.

Is CVE-2018-1999036 being exploited?

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

Sources

Also known as GHSA-wwgx-94v6-fc2p.

Is CVE-2018-1999036 in your software?

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

Check your SBOMs for free