CVE-2020-2146: Missing SSH host key validation in Mac Plugin
6.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.08211%
CWE
Published
5/24/2022
Updated
12/13/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
fr.edf.jenkins.plugins:mac | maven | < 1.2.0 | 1.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing SSH host key validation during connection establishment. The commit diff shows:
- Addition of host key validation checks ('doCheckKey' method)
- Restructuring of connection verification logic
- Security-related UI improvements in configuration
Key indicators:
- The 'verifyConnection' method in config.groovy handles connection testing
- Pre-patch versions didn't validate the host key parameter properly
- CWE-347 directly maps to missing cryptographic signature verification
- Patch added validation logic that would have been absent in vulnerable versions