~ / search / GHSA-gg9m-x3cg-69vh

GHSA-gg9m-x3cg-69vh

Access key stored in plain text by Jenkins Metrics Plugin

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-20621

Packages

EcosystemPackageAffectedFixed in
Maven org.jenkins-ci.plugins:metrics >= 4.0.2.8, < 4.0.2.8.1 4.0.2.8.1
Maven org.jenkins-ci.plugins:metrics < 4.0.2.7.1 4.0.2.7.1

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.