GHSA-gg9m-x3cg-69vh

Suggest an improvement
Source
https://github.com/advisories/GHSA-gg9m-x3cg-69vh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-gg9m-x3cg-69vh/GHSA-gg9m-x3cg-69vh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gg9m-x3cg-69vh
Aliases
Published
2022-01-13T00:00:57Z
Modified
2024-02-16T08:16:06.852509Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

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.

Database specific
{
    "nvd_published_at": "2022-01-12T20:15:00Z",
    "cwe_ids": [
        "CWE-522"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-05-04T20:59:58Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:metrics

Package

Name
org.jenkins-ci.plugins:metrics
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/metrics

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.2.8
Fixed
4.0.2.8.1

Affected versions

4.*

4.0.2.8

Maven / org.jenkins-ci.plugins:metrics

Package

Name
org.jenkins-ci.plugins:metrics
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/metrics

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.2.7.1

Affected versions

3.*

3.0.0
3.0.1
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.0.10
3.0.11
3.1.2
3.1.2.1
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
3.1.2.10
3.1.2.11
3.1.2.12

4.*

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