cve.bz

CVE-2024-52551 jenkins pipeline\: Incorrect Default Permissions

8.0 highEPSS 0.6%Fix available

High (8.0) in jenkins pipeline\. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.jenkinsci.plugins:pipeline-model-parent 2.2218.v56d0cda.

On this page
Jenkins Pipeline: Declarative Plugin 2.2214.vb_b_34b_2ea_9b_83 and earlier does not check whether the main (Jenkinsfile) script used to restart a build from a specific stage is approved, allowing attackers with Item/Build permission to restart a previous build whose (Jenkinsfile) script is no longer approved.

Severity

CVSS 3.1

8.0 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-11-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-276 Incorrect Default Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-52551 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-52551?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-52551?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-52551 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • jenkins:pipeline\

Versions

From the CNA's record in the CVE List.

ProductAffected
Jenkins Project Jenkins Pipeline: Declarative Pluginthrough 2.2214.vb_b_34b_2ea_9b_83

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p2qq-c693-q53wMavenorg.jenkinsci.plugins:pipeline-model-parent<2.2218.v56d0cda2.2218.v56d0cda

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatocp_tools:4.12::el8jenkins0:2.479.3.1740464431-3.el8RHSA-2025:2223
Red Hatocp_tools:4.12::el8jenkins-2-plugins0:4.12.1740464689-1.el8RHSA-2025:2223
Red Hatocp_tools:4.13::el8jenkins0:2.479.3.1740464433-3.el8RHSA-2025:2222
Red Hatocp_tools:4.13::el8jenkins-2-plugins0:4.13.1740464698-1.el8RHSA-2025:2222
Red Hatocp_tools:4.14::el8jenkins0:2.479.3.1740109575-3.el8RHSA-2025:2221
Red Hatocp_tools:4.14::el8jenkins-2-plugins0:4.14.1740109868-1.el8RHSA-2025:2221
Red Hatocp_tools:4.15::el8jenkins0:2.479.3.1740051993-3.el8RHSA-2025:2220
Red Hatocp_tools:4.15::el8jenkins-2-plugins0:4.15.1740052174-1.el8RHSA-2025:2220
Red Hatocp_tools:4.16::el9jenkins0:2.479.3.1739896390-3.el9RHSA-2025:2219
Red Hatocp_tools:4.16::el9jenkins-2-plugins0:4.16.1739896683-1.el9RHSA-2025:2219
Red Hatocp_tools:4.17::el9jenkins0:2.479.3.1739859586-3.el9RHSA-2025:2218
Red Hatocp_tools:4.17::el9jenkins-2-plugins0:4.17.1739859908-1.el9RHSA-2025:2218

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important due to the risk it poses by allowing attackers with Item/Build permissions to restart a previous build using an unapproved Jenkinsfile script, this could result in unauthorized execution of scripts, compromising the integrity of the build process.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
OCP-Tools-4.12-RHEL-8jenkins-0:2.479.3.1740464431-3.el8Fixed 2025-03-04RHSA-2025:2223
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1740464689-1.el8Fixed 2025-03-04RHSA-2025:2223
OCP-Tools-4.13-RHEL-8jenkins-0:2.479.3.1740464433-3.el8Fixed 2025-03-04RHSA-2025:2222
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1740464698-1.el8Fixed 2025-03-04RHSA-2025:2222
OCP-Tools-4.14-RHEL-8jenkins-0:2.479.3.1740109575-3.el8Fixed 2025-03-04RHSA-2025:2221
OCP-Tools-4.14-RHEL-8jenkins-2-plugins-0:4.14.1740109868-1.el8Fixed 2025-03-04RHSA-2025:2221
OCP-Tools-4.15-RHEL-8jenkins-0:2.479.3.1740051993-3.el8Fixed 2025-03-04RHSA-2025:2220
OCP-Tools-4.15-RHEL-8jenkins-2-plugins-0:4.15.1740052174-1.el8Fixed 2025-03-04RHSA-2025:2220
OCP-Tools-4.16-RHEL-9jenkins-0:2.479.3.1739896390-3.el9Fixed 2025-03-04RHSA-2025:2219
OCP-Tools-4.16-RHEL-9jenkins-2-plugins-0:4.16.1739896683-1.el9Fixed 2025-03-04RHSA-2025:2219
OCP-Tools-4.17-RHEL-9jenkins-0:2.479.3.1739859586-3.el9Fixed 2025-03-04RHSA-2025:2218
OCP-Tools-4.17-RHEL-9jenkins-2-plugins-0:4.17.1739859908-1.el9Fixed 2025-03-04RHSA-2025:2218

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-52551.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON