CVE-2024-52551: Restarting a run with revoked script approval allowed by Jenkins Pipeline: Declarative Plugin
8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.24329%
CWE
Published
11/13/2024
Updated
11/14/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.jenkinsci.plugins:pipeline-model-parent | maven | < 2.2218.v56d0cda | 2.2218.v56d0cda |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing script approval checks during build restarts. The RestartDeclarativePipelineAction class is directly responsible for handling restart requests in the Declarative Plugin. The advisory states the patched version added refusal logic for unapproved scripts, implying the vulnerable version's restart handler lacked this check. The function doRestart() would be the logical entry point for restart operations, making it the most likely location for the missing authorization validation (CWE-285). The high confidence comes from the vulnerability's context and typical Jenkins plugin architecture patterns.