~ / search / GHSA-p2qq-c693-q53w

GHSA-p2qq-c693-q53w

Restarting a run with revoked script approval allowed by Jenkins Pipeline: Declarative Plugin

Source: GitHub Advisory Database (reviewed) High CVE-2024-52551

Packages

EcosystemPackageAffectedFixed in
Maven org.jenkinsci.plugins:pipeline-model-parent < 2.2218.v56d0cda 2.2218.v56d0cda

Details

As written in the advisory (Markdown source, shown as plain text).

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. This allows attackers with Item/Build permission to restart a previous build whose (Jenkinsfile) script is no longer approved. Pipeline: Declarative Plugin 2.2218.v56d0cda_37c72 refuses to restart a build whose main (Jenkinsfile) script is unapproved.

References

External links from the advisory. They lead to third-party sites.