Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-47804 BIT-jenkins-2024-47804EUVD-2024-3030GHSA-f9qj-77q2-h5c5

Jenkins item creation restriction bypass vulnerability

Published Oct 2, 2024 · Updated Mar 14, 2025 · Assigned by jenkins

Description

If an attempt is made to create an item of a type prohibited by `ACL#hasCreatePermission2` or `TopLevelItemDescriptor#isApplicableIn(ItemGroup)` through the Jenkins CLI or the REST API and either of these checks fail, Jenkins 2.478 and earlier, LTS 2.462.2 and earlier creates the item in memory, only deleting it from disk, allowing attackers with Item/Configure permission to save the item to persist it, effectively bypassing the item creation restriction.

Affected products

VendorProductAffectedFixed
Jenkins Project Jenkins — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Ocp Tools 4 jenkins 2.462.3.1729837947-3.el8 RHSA-2024:8887, RHSA-2024:8886, RHSA-2024:8885
Red Hat Ocp Tools 4 jenkins-2-plugins 4.12.1730119231-1.el8 RHSA-2024:8887, RHSA-2024:8886, RHSA-2024:8885

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.main:jenkins-core < 2.462.3 2.462.3 GHSA-f9qj-77q2-h5c5
Maven org.jenkins-ci.main:jenkins-core >= 2.466, < 2.479 2.479 GHSA-f9qj-77q2-h5c5

Advisories 7

References