CVE-2022-30959: Missing Authorization in Jenkins SSH plugin
7.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73175%
CWE
Published
5/18/2022
Updated
1/28/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.jenkins-ci.plugins:ssh | maven | <= 2.6.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from an HTTP endpoint handling SSH connection testing that lacks authorization checks. Jenkins plugins typically implement such endpoints via Descriptor classes with do* methods (e.g., doTestConnection). The advisory explicitly states attackers can specify credentials/SSH servers through an endpoint, which matches this pattern. The absence of permission checks (like Jenkins.get().checkPermission(CredentialsProvider.USE_ITEM)) in this method would allow the described exploit. While exact implementation details aren't available, this matches Jenkins plugin vulnerability patterns and the CWE-862 description.