CVE-2024-47805
Jenkins Credentials plugin reveals encrypted values of credentials to users with Extended Read permission
Description
Jenkins Credentials Plugin 1380.va_435002fa_924 and earlier, except 1371.1373.v4eb_fa_b_7161e9, does not redact encrypted values of credentials using the SecretBytes type (e.g., Certificate credentials, or Secret file credentials from Plain Credentials Plugin) when accessing item config.xml via REST API or CLI.
This allows attackers with Item/Extended Read permission to view encrypted SecretBytes values in credentials.
This issue is similar to SECURITY-266 in the 2016-05-11 security advisory, which applied to the Secret type used for inline secrets and some credentials types.
Credentials Plugin 1381.v2c3a_12074da_b_ redacts the encrypted values of credentials using the SecretBytes type in item config.xml files.
This fix is only effective on Jenkins 2.479 and newer, LTS 2.462.3 and newer. While Credentials Plugin 1381.v2c3a_12074da_b_ can be installed on Jenkins 2.463 through 2.478 (both inclusive), encrypted values of credentials using the SecretBytes type will not be redacted when accessing item config.xml via REST API or CLI.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.plugins » credentials | < 1371.1373.v4eb>= 1372, < 1381.v2c3a | 1371.1373.v4eb, 1381.v2c3a |
Blast radius
64% of the dependent artifacts (500) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 36,110 |
| 2 hops | 23,387 |
| 3 hops | 2,307 |
| 4 hops | 1,220 |
| 5 hops | 380 |
| 6 hops | 101 |
Most used dependents
- org.jenkins-ci.plugins.workflow » workflow-cps439 usages
- org.jenkins-ci.plugins » plain-credentials238 usages
- org.jenkins-ci.plugins » git227 usages
- org.jenkins-ci.plugins » scm-api193 usages
- org.jenkins-ci.plugins » cloudbees-folder144 usages
- org.jenkins-ci.plugins.workflow » workflow-aggregator136 usages
- org.jenkins-ci.plugins » token-macro134 usages
- org.jenkins-ci.plugins » mailer132 usages
- org.jenkins-ci.main » maven-plugin131 usages
- org.jenkins-ci.plugins.workflow » workflow-multibranch110 usages
- org.jenkins-ci.plugins.workflow » workflow-scm-step104 usages
- org.jenkins-ci.plugins » ssh-credentials96 usages
- org.jenkins-ci.plugins » job-dsl71 usages
- org.jenkinsci.plugins » pipeline-model-definition68 usages
- org.jenkins-ci.plugins » git-client67 usages
Computed from the dependency graph of build 20261125.2201 (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-47805 | nvd.nist.gov |
| Web | security/advisory/2024-10-02 | jenkins.io |
