GHSA-69cj-g7mw-mh72

Suggest an improvement
Source
https://github.com/advisories/GHSA-69cj-g7mw-mh72
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-69cj-g7mw-mh72/GHSA-69cj-g7mw-mh72.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-69cj-g7mw-mh72
Aliases
Published
2022-05-17T00:33:25Z
Modified
2024-02-21T05:17:09.452736Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Jenkins Docker Commons Plugin allows any user with Overall/Read permission to get list of valid credentials IDs
Details

Docker Commons Plugin provides a list of applicable credential IDs to allow users configuring a job to select the one they'd like to use to authenticate with a Docker Registry. This functionality did not check permissions, allowing any user with Overall/Read permission to get a list of valid credentials IDs. Those could be used as part of an attack to capture the credentials using another vulnerability.

An enumeration of credentials IDs in this plugin now requires the permission to have Extended Read permission (when that permission is enabled; otherwise Configure permission) to the job in whose context credentials are being accessed. If no job context exists, Overall/Administer permission is required.

Database specific
{
    "nvd_published_at": "2017-10-05T01:29:00Z",
    "cwe_ids": [
        "CWE-200"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-12T16:23:48Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:docker-commons

Package

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

Affected ranges

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

Affected versions

1.*

1.0-alpha-1
1.0-alpha-4
1.0-alpha-5
1.0-alpha-6
1.0-alpha-7
1.0-alpha-8
1.0-alpha-9
1.0-alpha-10
1.0-alpha-11
1.0-alpha-12
1.0-alpha-13
1.0-alpha-14
1.0-beta-1
1.0
1.1
1.2
1.3
1.3.1
1.4.0
1.4.1
1.5
1.6
1.7