CVE-2018-1000401: Jenkins AWS CodePipeline Plugin has Insufficiently Protected Credentials
7.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.01084%
CWE
Published
5/13/2022
Updated
1/29/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.amazonaws:aws-codepipeline | maven | < 0.37 | 0.37 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from plaintext storage of AWS secrets in job configurations. The commit diff shows:
- The 'awsSecretKey' field type changed from String to Secret (Jenkins' encrypted credential type)
- getAwsSecretKey() return type changed from String to Secret
- All usages were updated to use Secret.toString() for safe handling These changes indicate the constructor and getter were directly responsible for insecure credential storage in vulnerable versions. The functions would serialize secrets to config.xml without encryption, accessible via file system or Jenkins UI.