CVE-2022-20621
Java vulnerability analysis and mitigation

Overview

CVE-2022-20621 affects the Jenkins Metrics Plugin versions 4.0.2.8 and earlier. The vulnerability was discovered by Wasin Saengow and disclosed on January 12, 2022. This security issue involves the storage of access keys in an unencrypted format within the plugin's global configuration file on the Jenkins controller (Jenkins Advisory).

Technical details

The vulnerability exists in the Metrics Plugin where access keys are stored unencrypted in the global configuration file 'jenkins.metrics.api.MetricsAccessKey.xml' on the Jenkins controller. The severity is rated as Low with a CVSS v3.1 base score of 5.5 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) (NVD).

Impact

The vulnerability allows users with access to the Jenkins controller file system to view the unencrypted access keys stored in the configuration file. This could potentially lead to unauthorized access to metrics data and related functionality (Jenkins Advisory).

Mitigation and workarounds

The issue has been fixed in Metrics Plugin version 4.0.2.8.1. In the fixed version, the access key is stored encrypted once the configuration is saved again. Additionally, the token value is only displayed once when it is generated (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • opensearch-2
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-pure-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management