CVE-2024-39459
Secret file credentials stored unencrypted in rare cases by Plain Credentials Plugin
Description
When creating secret file credentials Plain Credentials Plugin 182.v468b_97b_9dcb_8 and earlier attempts to decrypt the content of the file to check if it constitutes a valid encrypted secret. In rare cases the file content matches the expected format of an encrypted secret, and the file content will be stored unencrypted (only Base64 encoded) on the Jenkins controller file system.
These credentials can be viewed by users with access to the Jenkins controller file system (global credentials) or with Item/Extended Read permission (folder-scoped credentials).
Plain Credentials Plugin 183.va_de8f1dd5a_2b_ no longer attempts to decrypt the content of the file when creating secret file credentials.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » plain-credentials | < 183.va | 183.va |
Blast radius
64% of the dependent artifacts (260) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 12,940 |
| 2 hops | 15,999 |
| 3 hops | 11,110 |
| 4 hops | 1,037 |
| 5 hops | 403 |
| 6 hops | 71 |
Most used dependents
- org.jenkins-ci.plugins.workflow » workflow-cps439 usages
- org.jenkins-ci.plugins » git227 usages
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkins-ci.plugins.workflow » workflow-multibranch110 usages
- org.jenkins-ci.plugins » job-dsl71 usages
- org.jenkinsci.plugins » pipeline-model-definition68 usages
- org.jenkins-ci.plugins » git-client67 usages
- org.jenkins-ci.plugins » credentials-binding55 usages
- org.jenkins-ci.plugins » github-branch-source48 usages
- org.jenkins-ci.plugins » docker-commons40 usages
- org.jenkins-ci.plugins » aws-credentials33 usages
- org.jenkins-ci.plugins » config-file-provider32 usages
- com.coravy.hudson.plugins.github » github22 usages
- org.jenkins-ci.plugins » cloudbees-bitbucket-branch-source21 usages
- org.jenkinsci.plugins » pipeline-model-extensions18 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2024-39459 | nvd.nist.gov |
| Package | jenkinsci/plain-credentials-plugin | github.com |
| Web | jenkinsci/plain-credentials-plugin commit ade8f1d | github.com |
| Web | security/advisory/2024-06-26 | jenkins.io |
| Web | lists/oss-security/2024/06/26/2 | openwall.com |
