CVE-2021-21652 CSRF vulnerability in Jenkins Xray - Test Management for Jira Plugin allows capturing credentials

High 7.1 Published Updated

Attackers can exploit CSRF to connect Jenkins to malicious URLs using stolen credentials, potentially capturing stored credentials.

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-2021-21652?

CVE-2021-21652 is a high-severity vulnerability in Jenkins Xray - Test Management for Jira Plugin, published on 11 May 2021. 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 Xray - Test Management for Jira Plugin 2.4.0 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-2021-21652?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:xray-connector. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:xray-connector MavenAll versions2.4.1
org.jenkins-ci.plugins:xray-connector MavenAll versions2.4.1

Products include Jenkins Xray - Test Management for Jira.

How do I fix CVE-2021-21652?

Upgrade org.jenkins-ci.plugins:xray-connector to 2.4.1 or later.

Is CVE-2021-21652 being exploited?

There is no known exploitation of CVE-2021-21652 in the wild and no public exploit code.

Sources

Also known as GHSA-rrvg-2c69-p9rf.

Is CVE-2021-21652 in your software?

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

Check your SBOMs for free