Credential Exposure Affecting org.jenkins-ci.plugins:metrics package, versions [,4.0.2.8.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGJENKINSCIPLUGINS-2359990
  • published25 Jan 2022
  • disclosed12 Jan 2022
  • creditUnknown

Introduced: 12 Jan 2022

CVE-2022-20621  (opens in a new tab)
CWE-255  (opens in a new tab)
CWE-256  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:metrics to version 4.0.2.8.1 or higher.

Overview

org.jenkins-ci.plugins:metrics is a plugin that exposes the Metrics API to Jenkins plugins.

Affected versions of this package are vulnerable to Credential Exposure by storing access keys unencrypted in the jenkins.metrics.api.MetricsAccessKey.xml file, allowing users with permissions to access the Jenkins controller file system to view it.

CVSS Base Scores

version 3.1