ADVISORIES

GitHub Advisory Database

GHSA-h66p-m766-33fv

AWS CodeDeploy Plugin stored AWS Secret Key in plain text

Details

Jenkins project Jenkins AWS CodeDeploy Plugin version 1.19 and earlier contains a Insufficiently Protected Credentials vulnerability in AWSCodeDeployPublisher.java that can result in Credentials Disclosure. This attack appears to be exploitable via local file access.

AWS CodeDeploy Plugin 1.20 and newer stores the AWS Secret Key encrypted in the configuration files on disk and no longer transfers it to users viewing the configuration form in plain text. Existing jobs need to have their configuration saved for existing plain text secret keys to be overwritten.

Affected packages

EcosystemPackageAffected versions
Mavencom.amazonaws:codedeploy
All versions before 1.20 (fixed in 1.20)

References