{"id":"CVE-2022-20621","aliases":["EUVD-2022-0602","GHSA-gg9m-x3cg-69vh"],"status":"published","title":"Access key stored in plain text by Jenkins Metrics Plugin","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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00329,"percentile":0.263,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-522"],"published":"2022-01-12T19:06:00Z","modified":"2026-10-24T10:31:03Z","fixes":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:metrics","fixed_in":["4.0.2.8.1","4.0.2.7.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:metrics","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.2.8"},{"last_affected":"4.0.2.8"},{"fixed":"4.0.2.8.1"}]}],"versions":["4.0.2.8"]},{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:metrics","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2.7.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"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"]},{"source":"osv","ecosystem":"Maven","package":"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"]}],"products":[{"vendor":"jenkins","product":"metrics"},{"vendor":"jenkins project","product":"jenkins metrics plugin"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-1624","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/12/6","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-20621","tags":["advisory"]},{"url":"https://github.com/jenkinsci/metrics-plugin/commit/9810480370d4c5e04a2b710934db5461bde0d1b6","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gg9m-x3cg-69vh"},{"url":"https://github.com/jenkinsci/metrics-plugin","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-20621","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.","status":"published","published":"2022-01-12T19:06:00Z","modified":"2024-08-03T02:17:52.871Z","updated_at":"2026-11-02T14:34:24.971323Z"}],"euvd":[{"id":"EUVD-2022-0602","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.","status":"published","published":"2022-01-12T19:06:00Z","modified":"2024-08-03T02:17:52Z","updated_at":"2026-11-03T03:25:54.509519Z"}],"ghsa":[{"id":"GHSA-gg9m-x3cg-69vh","title":"Access key stored in plain text by Jenkins Metrics Plugin","description":"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.","status":"published","published":"2022-01-13T00:00:57Z","modified":"2023-10-27T16:17:45Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-522"],"updated_at":"2026-11-02T14:37:10.633403Z"}],"nvd":[{"id":"CVE-2022-20621","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.","status":"published","published":"2022-01-12T20:15:09.107Z","modified":"2026-06-17T04:24:42.36Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-522"],"updated_at":"2026-11-02T14:07:10.836864Z"}],"osv":[{"id":"CVE-2022-20621","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.","status":"published","published":"2022-01-12T20:15:09.107Z","modified":"2026-10-24T10:31:03.848055729Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:23.655778Z"},{"id":"GHSA-gg9m-x3cg-69vh","title":"Access key stored in plain text by Jenkins Metrics Plugin","description":"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.","status":"published","published":"2022-01-13T00:00:57Z","modified":"2024-02-16T08:16:06.852509Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-522"],"updated_at":"2026-11-02T15:46:47.822182Z"}]}}
