Skip to content

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

Low severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Dec 15, 2023

Package

maven org.jenkins-ci.plugins:ssh-agent (Maven)

Affected versions

<= 1.15

Patched versions

1.16

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. As of version 1.16, the plugin no longer logs the ssh-add invocation that would reveal the passphrase.

References

Published by the National Vulnerability Database Aug 1, 2018
Published to the GitHub Advisory Database May 13, 2022
Reviewed Dec 12, 2022
Last updated Dec 15, 2023

Severity

Low
3.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Weaknesses

CVE ID

CVE-2018-1999036

GHSA ID

GHSA-wwgx-94v6-fc2p
Checking history
See something to contribute? Suggest improvements for this vulnerability.