CVE-2022-20619 Cross-Site Request Forgery in Jenkins Bitbucket Branch Source Plugin
Attackers can exploit CSRF to connect to malicious URLs using stolen credentials, capturing sensitive data stored in Jenkins.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-20619?
CVE-2022-20619 is a high-severity vulnerability in Jenkins Bitbucket Branch Source Plugin, published on 12 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A cross-site request forgery (CSRF) vulnerability in Jenkins Bitbucket Branch Source Plugin 737.vdf9dc06105be and earlier allows attackers to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.
Weakness: CWE-352
Which versions are affected by CVE-2022-20619?
8 open source packages ship an affected version, including org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source Maven | All versions | 2.9.7.2 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source Maven | All versions | 2.9.7.2 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source Maven | From 2.9.8 | 2.9.11.2 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source Maven | From 2.9.8 | 2.9.11.2 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source Maven | From 720.vbe985dd73d66 | 725.vd9f8be0fa250 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source Maven | From 720.vbe985dd73d66 | 725.vd9f8be0fa250 |
2 more packages
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source Maven | From 726.v7e6f53de133c | 746.v350d2781c184 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source Maven | From 726.v7e6f53de133c | 746.v350d2781c184 |
Products include Jenkins Bitbucket Branch Source.
How do I fix CVE-2022-20619?
Upgrade org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source to a fixed version for your release line: 2.9.7.2, 2.9.11.2, 725.vd9f8be0fa250 or 746.v350d2781c184.
Is CVE-2022-20619 being exploited?
There is no known exploitation of CVE-2022-20619 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Bitbucket Branch Source Plugin
- CVE-2024-28152 Jenkins Bitbucket Branch Source Plugin has incorrect trust policy behavior for pull requests
- CVE-2024-39460 Bitbucket OAuth access token exposed in the build log by Bitbucket Branch Source Plugin
- CVE-2022-20618 Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin
Sources
Also known as GHSA-w4jv-6rg4-pr4m.