CVE-2024-47805
JSON

7.5high

Jenkins Credentials plugin reveals encrypted values of credentials to users with Extended Read permission

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.59% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-62jv-j4w7-5hh8

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 when accessing item `config.xml` via REST API or CLI.

Affected

Product or packageVersionsReported by
Jenkins Project Jenkins Credentials Pluginup to 1380.va_435002fa_924
Not affected: 1371.1373.v4eb_fa_b_7161e9
CVE List
org.jenkins-ci.plugins:credentials (Maven)from 1372 before 1381.v2c3a, before 1371.1373.v4ebGitHub Advisory Database
jenkins credentialsbefore 1371.1373.v4eb_fa_b_7161e9, from 1371.vfee6b_095f0a_3 before 1380.va_435002fa_924NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-200CWE-522

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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 when accessing item `config.xml` via REST API or CLI.

GitHub Advisory Database

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.

NVD (es)

El complemento de credenciales de Jenkins 1380.va_435002fa_924 y anteriores, excepto 1371.1373.v4eb_fa_b_7161e9, no redacta los valores cifrados de las credenciales que utilizan el tipo `SecretBytes` al acceder al elemento `config.xml` a través de la API REST o la CLI.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47805 changed 2025-03-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-62jv-j4w7-5hh8 changed 2024-11-13CC-BY-4.0
NVDCVE-2024-47805 changed 2026-06-17Public domain