CVE-2021-21652: CSRF vulnerability in Jenkins Xray - Test Management for Jira Plugin allows capturing credentials
7.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.29045%
CWE
Published
6/16/2021
Updated
10/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.plugins:xray-connector | maven | < 2.4.1 | 2.4.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from a connection test endpoint accepting non-POST requests. In Jenkins plugins, form validation endpoints like connection tests are typically implemented via doTestConnection
methods in Descriptor
classes. The advisory explicitly states the fix required POST requests, indicating the original implementation lacked proper HTTP
method validation. This pattern matches Jenkins' security best practices where @RequirePOST
annotations are required for state-changing operations.