CVE-2021-21654:
Missing Authorization in Jenkins P4 plugin
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.14874%
CWE
Published
6/16/2021
Updated
12/25/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.plugins:p4 | maven | <= 1.11.4 | 1.11.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing permission checks in connection test endpoints. The commit diff shows:
- Both doTestConnection methods lacked Jenkins.ADMINISTER permission checks before patching
- The @POST annotation was added to enforce HTTP method safety
- Credential UI elements were wrapped in admin checks
- The CVE description specifically mentions unprotected HTTP endpoints allowing connection testing with attacker-controlled credentials
- The patch adds explicit Administer permission checks to these methods, confirming they were the vulnerable endpoints