CVE-2024-52550: Rebuilding a run with revoked script approval allowed by Jenkins Pipeline: Groovy Plugin
8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.01731%
CWE
Published
11/13/2024
Updated
11/26/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.jenkins-ci.plugins.workflow:workflow-cps | maven | < 3993.v3e20a | 3993.v3e20a |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing re-validation of script approvals during rebuild operations. The primary culprit is ReplayAction#run, which initiates rebuilds without checking current script approval status (CWE-285). CpsFlowExecution#parseScript is implicated because it handles script execution but uses previously approved state rather than re-checking (CWE-354). These inferences align with the advisory's description of the flaw in rebuild authorization checks and the plugin's architecture.