Every CVE Search/ Get API key

CVE-2022-20621

Access key stored in plain text by Jenkins Metrics Plugin

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.33%Down 0.6 points since Feb 8, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2022-20621
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
2.1 LowAV:L/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-522
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2022-20621
Updated
2026-11-02
EUVDEUVD-2022-0602 No score

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.

Record
EUVD-2022-0602
Updated
2026-11-03
GitHub AdvisoriesGHSA-gg9m-x3cg-69vh 5.5

Access key stored in plain text by Jenkins Metrics Plugin

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.

Record
GHSA-gg9m-x3cg-69vh
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-522
Updated
2026-11-02
OSV 5.5

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.

Record
CVE-2022-20621
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-gg9m-x3cg-69vh 5.5

Access key stored in plain text by Jenkins Metrics Plugin

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.

Record
GHSA-gg9m-x3cg-69vh
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-522
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.jenkins-ci.plugins:metrics
Maven
4.0.2.8 to 4.0.2.8
4.0.2.8.1
org.jenkins-ci.plugins:metrics
Maven
before 4.0.2.7.1
4.0.2.7.1
org.jenkins-ci.plugins:metrics
Maven
4.0.2.8 up to 4.0.2.8.1
4.0.2.8.1
org.jenkins-ci.plugins:metrics
Maven
before 4.0.2.7.1, plus listed versions
3.0.03.0.13.0.103.0.113.0.2
Show 28 moreShow less
3.0.33.0.43.0.53.0.63.0.73.0.83.0.93.1.23.1.2.13.1.2.103.1.2.113.1.2.123.1.2.23.1.2.33.1.2.43.1.2.53.1.2.63.1.2.73.1.2.83.1.2.94.0.2.04.0.2.14.0.2.24.0.2.34.0.2.44.0.2.54.0.2.64.0.2.7
4.0.2.7.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-20621 is a medium vulnerability (CVSS 5.5) in Jenkins Metrics, published January 12, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 26th percentile. Fixed in org.jenkins-ci.plugins:metrics 4.0.2.8.1.

References

MoveEnter Open