CVE-2022-20621
JSON

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 packageVersionsReported by
Jenkins project Jenkins Metrics Pluginfrom 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.1GitHub Advisory Database
jenkins metricsup to 4.0.2.8NVD

All scores

GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD2.1low CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2022-20621 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-gg9m-x3cg-69vh changed 2024-02-16CC-BY-4.0
NVDCVE-2022-20621 changed 2026-06-17Public domain