CVE-2021-21638 CSRF vulnerability in Jenkins Team Foundation Server Plugin allow capturing credentials

High 8.8 Published Updated

Attackers can exploit CSRF to connect to malicious URLs using stolen credentials, capturing stored Jenkins 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
None listed

What is CVE-2021-21638?

CVE-2021-21638 is a high-severity vulnerability in Jenkins Team Foundation Server Plugin, published on 30 Mar 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 Team Foundation Server Plugin 5.157.1 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-21638?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:tfs MavenAll versions to 5.157.1None
org.jenkins-ci.plugins:tfs MavenAll versions to 5.157.1None

Products include Jenkins Team Foundation Server.

How do I fix CVE-2021-21638?

No fix has been published for CVE-2021-21638 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-21638 being exploited?

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

Sources

Also known as GHSA-263q-5pj7-j6hj.

Is CVE-2021-21638 in your software?

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

Check your SBOMs for free