CVE-2022-20619 Cross-Site Request Forgery in Jenkins Bitbucket Branch Source Plugin

High 7.1 Published Updated

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.

PackageAffectedFixed in
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source MavenAll versions2.9.7.2
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source MavenAll versions2.9.7.2
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source MavenFrom 2.9.82.9.11.2
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source MavenFrom 2.9.82.9.11.2
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source MavenFrom 720.vbe985dd73d66725.vd9f8be0fa250
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source MavenFrom 720.vbe985dd73d66725.vd9f8be0fa250
2 more packages
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source MavenFrom 726.v7e6f53de133c746.v350d2781c184
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source MavenFrom 726.v7e6f53de133c746.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.

Sources

Also known as GHSA-w4jv-6rg4-pr4m.

Is CVE-2022-20619 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free