NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-47805: Jenkins Credentials plugin reveals encrypted values of credentials to users with Extended Read permission

mediumCVSS 4.0 5.3 · 3.1 4.3GHSA-62jv-j4w7-5hh8

Jenkins Credentials Plugin 1380.va435002fa924 and earlier, except 1371.1373.v4ebfab7161e9, 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.

Published Oct 2, 2024 · Updated Nov 13, 2024

Affected packages

org.jenkins-ci.plugins:credentials

Ecosystem
Maven
Affected
< 1371.1373.v4eb
Fixed in
1371.1373.v4eb
Check
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins:credentials

org.jenkins-ci.plugins:credentials

Ecosystem
Maven
Affected
>= 1372, < 1381.v2c3a
Fixed in
1381.v2c3a
Check
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins:credentials

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology