CVE-2020-2261: OS command execution vulnerability in Perfecto Plugin
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.47877%
CWE
Published
5/24/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:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| io.jenkins.plugins:perfecto | maven | <= 1.17 | 1.18 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsanitized use of job configuration parameters (Perfecto Connect Path/FileName) in OS command execution. In Jenkins plugins, the 'perform' method in builders/recorders is where build actions execute. The high confidence in PerfectoRecorder.perform aligns with the CWE-78 pattern of direct command execution with user input. The medium confidence in PerfectoBuilder.perform accounts for alternative implementations, though the core issue remains parameter injection in command execution contexts. The patch's mitigation (moving execution to agents) implies the vulnerable functions were controller-side execution entry points.