GHSA-6jp2-hggx-8j7p

Suggest an improvement
Source
https://github.com/advisories/GHSA-6jp2-hggx-8j7p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6jp2-hggx-8j7p/GHSA-6jp2-hggx-8j7p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6jp2-hggx-8j7p
Aliases
Published
2022-05-17T00:29:00Z
Modified
2024-02-21T05:31:42.930761Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Jenkins GitHub Branch Source Plugin allows any user with Overall/Read permission to get list of valid credentials IDs
Details

GitHub Branch Source provides a list of applicable credential IDs to allow users configuring a job to select the one they'd like to use. 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-12T20:58:11Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:github-branch-source

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.0-alpha-1

Affected versions

0.*

0.1-beta-1
0.1-beta-2
0.1-beta-3
0.1-beta-4

1.*

1.0
1.1
1.2
1.3
1.4-beta-1
1.4
1.5
1.6
1.7
1.8
1.8.1
1.9
1.10
1.10.1

2.*

2.0.0-beta-1
2.0.0-beta-2
2.0.0
2.0.1-beta-1
2.0.1-beta-2
2.0.1-beta-3
2.0.1-beta-4
2.0.1-beta-5
2.0.1-beta-6
2.0.1
2.0.2
2.0.3
2.0.4-beta-1
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8