{"id":"GHSA-gg9m-x3cg-69vh","summary":"Access key stored in plain text by Jenkins Metrics Plugin","details":"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.\n\nThis access key can be viewed by users with access to the Jenkins controller file system.\n\nJenkins Metrics Plugin 4.0.2.8.1 stores access key encrypted once its configuration is saved again.\n\nAdditionally, the token value is only displayed once when it is generated.","aliases":["CVE-2022-20621"],"modified":"2024-02-16T08:16:06.852509Z","published":"2022-01-13T00:00:57Z","database_specific":{"cwe_ids":["CWE-522"],"github_reviewed_at":"2022-05-04T20:59:58Z","github_reviewed":true,"nvd_published_at":"2022-01-12T20:15:00Z","severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-20621"},{"type":"WEB","url":"https://github.com/jenkinsci/metrics-plugin/commit/9810480370d4c5e04a2b710934db5461bde0d1b6"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/metrics-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-1624"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/01/12/6"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:metrics","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/metrics"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.2.8"},{"fixed":"4.0.2.8.1"}]}],"versions":["4.0.2.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-gg9m-x3cg-69vh/GHSA-gg9m-x3cg-69vh.json"}},{"package":{"name":"org.jenkins-ci.plugins:metrics","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/metrics"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2.7.1"}]}],"versions":["3.0.0","3.0.1","3.0.10","3.0.11","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.1.2","3.1.2.1","3.1.2.10","3.1.2.11","3.1.2.12","3.1.2.2","3.1.2.3","3.1.2.4","3.1.2.5","3.1.2.6","3.1.2.7","3.1.2.8","3.1.2.9","4.0.2.0","4.0.2.1","4.0.2.2","4.0.2.3","4.0.2.4","4.0.2.5","4.0.2.6","4.0.2.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-gg9m-x3cg-69vh/GHSA-gg9m-x3cg-69vh.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}