GitHub Advisory Database
GHSA-wwgx-94v6-fc2p
Jenkins SSH Agent Plugin exposes SSH private key password to users with permission to read the build log
Details
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. As of version 1.16, the plugin no longer logs the ssh-add invocation that would reveal the passphrase.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins:ssh-agent | All versions before 1.16 (fixed in 1.16) |