CVE-2022-20618
Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin
Description
Jenkins Bitbucket Branch Source Plugin prior to 746.v350d2781c184, 725.vd9f8be0fa250, 2.9.11.2, and 2.9.7.2 does not perform permission checks in several HTTP endpoints. This allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability. An enumeration of credentials IDs in Bitbucket Branch Source Plugin 746.v350d2781c184, 725.vd9f8be0fa250, 2.9.11.2, and 2.9.7.2 requires the appropriate permissions.
How to fix CVE-2022-20618
To remediate CVE-2022-20618, upgrade the affected package to a fixed version below.
- —upgrade to 746.v350d2781c184 or later
Is CVE-2022-20618 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 726.v7e6f53de133c, < 746.v350d2781c184
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
References (6)
- ADVISORYnvd.nist.gov/vuln/detail/CVE-2022-20618
- PATCHgithub.com/jenkinsci/bitbucket-branch-source-plugin
- WEBgithub.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20618.json
- WEBgithub.com/jenkinsci/bitbucket-branch-source-plugin/commit/467ed6c94af8735c4755d53145a54325ae82d073