5.5medium
Access key stored in plain text by Jenkins Metrics Plugin
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-gg9m-x3cg-69vh
Description
Jenkins Metrics Plugin 4.0.2.8 and earlier stores an access key unencrypted in its global configuration file on the Jenkins controller where it can be viewed by users with access to the Jenkins controller file system.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Metrics Plugin | from unspecified up to 4.0.2.8 Not affected: 4.0.2.7.1 | CVE List |
| org.jenkins-ci.plugins:metrics (Maven) | from 4.0.2.8 before 4.0.2.8.1, before 4.0.2.7.1 | GitHub Advisory Database |
| jenkins metrics | up to 4.0.2.8 | NVD |
All scores
| GitHub | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.1low CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
Jenkins Metrics Plugin 4.0.2.8 and earlier stores an access key unencrypted in its global configuration file on the Jenkins controller where it can be viewed by users with access to the Jenkins controller file system.
GitHub Advisory Database
Jenkins Metrics Plugin 4.0.2.8 and earlier stores an access key unencrypted in its global configuration file jenkins.metrics.api.MetricsAccessKey.xml on the Jenkins controller as part of its configuration.
This access key can be viewed by users with access to the Jenkins controller file system.
Jenkins Metrics Plugin 4.0.2.8.1 stores access key encrypted once its configuration is saved again.
Additionally, the token value is only displayed once when it is generated.
NVD (es)
El plugin de Jenkins Metrics versiones 4.0.2.8 y anteriores, almacena una clave de acceso sin cifrar en su archivo de configuración global en el controlador de Jenkins, donde puede ser visualizado por usuarios con acceso al sistema de archivos del controlador de Jenkins
References
| https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-1624 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/01/12/6 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-20621 | advisory | |
| https://github.com/jenkinsci/metrics-plugin/commit/9810480370d4c5e04a2b710934db5461bde0d1b6 | web | |
| https://github.com/jenkinsci/metrics-plugin | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-20621 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gg9m-x3cg-69vh changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-20621 changed 2026-06-17 | Public domain |