HIGH 8.0

CVE-2024-52550

Rebuilding a run with revoked script approval allowed by Jenkins Pipeline: Groovy Plugin

Description

Jenkins Pipeline: Groovy Plugin 3990.vd281dd77a_388 and earlier, except 3975.3977.v478dd9e956c3 does not check whether the main (Jenkinsfile) script for a rebuilt build is approved, allowing attackers with Item/Build permission to rebuild a previous build whose (Jenkinsfile) script is no longer approved. This allows attackers with Item/Build permission to rebuild a previous build whose (Jenkinsfile) script is no longer approved. Pipeline: Groovy Plugin 3993.v3e20a_37282f8 refuses to rebuild a build whose main (Jenkinsfile) script is unapproved.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.jenkins-ci.plugins.workflow » workflow-cps
< 3993.v3e20a
3993.v3e20a

Blast radius

1affected artifacts
1,306affected versions
254dependent artifacts (est.)
24,491dependent versions

49% of the dependent artifacts (126) still pull an affected version in their latest release.

DepthDependent versions
Direct
11,849
2 hops
11,603
3 hops
1,016
4 hops
23

Most used dependents

Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webjenkins.io