VYPR
Moderate severityNVD Advisory· Published Jul 31, 2019· Updated Aug 4, 2024

CVE-2019-10364

CVE-2019-10364

Description

Jenkins Amazon EC2 Plugin 1.43 and earlier wrote the beginning of private keys to the Jenkins system log.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.jenkins-ci.plugins:ec2Maven
< 1.441.44

Affected products

1

Patches

1
78c3c49a227a

Merge pull request #366 from Tblue/JENKINS-55203

https://github.com/jenkinsci/ec2-pluginFabrizio Manfredi FuruholmenJun 21, 2019via ghsa
1 file changed · +2 2
  • src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java+2 2 modified
    @@ -322,8 +322,8 @@ private boolean bootstrap(EC2Computer computer, TaskListener listener) throws IO
                 boolean isAuthenticated = false;
                 logInfo(computer, listener, "Getting keypair...");
                 KeyPair key = computer.getCloud().getKeyPair();
    -            logInfo(computer, listener, "Using key: " + key.getKeyName() + "\n" + key.getKeyFingerprint() + "\n"
    -                    + key.getKeyMaterial().substring(0, 160));
    +            logInfo(computer, listener,
    +                String.format("Using private key %s (SHA-1 fingerprint %s)", key.getKeyName(), key.getKeyFingerprint()));
                 while (tries-- > 0) {
                     logInfo(computer, listener, "Authenticating as " + computer.getRemoteAdmin());
                     try {
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

5

News mentions

0

No linked articles in our index yet.