NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-47804: Jenkins item creation restriction bypass vulnerability

mediumCVSS 4.0 5.3 · 3.1 4.3GHSA-f9qj-77q2-h5c5

Jenkins provides APIs for fine-grained control of item creation: - Authorization strategies can prohibit the creation of items of a given type in a given item group (ACL#hasCreatePermission2). - Item types can prohibit creation of new instances in a given item group (TopLevelItemDescriptor#isApplicableIn(ItemGroup)).

Published Oct 2, 2024 · Updated Nov 25, 2024

Affected packages

org.jenkins-ci.main:jenkins-core

Ecosystem
Maven
Affected
< 2.462.3
Fixed in
2.462.3
Check
mvn dependency:tree -Dincludes=org.jenkins-ci.main:jenkins-core

org.jenkins-ci.main:jenkins-core

Ecosystem
Maven
Affected
>= 2.466, < 2.479
Fixed in
2.479
Check
mvn dependency:tree -Dincludes=org.jenkins-ci.main:jenkins-core

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Jenkins provides APIs for fine-grained control of item creation:

  • Authorization strategies can prohibit the creation of items of a given type in a given item group (ACL#hasCreatePermission2).
  • Item types can prohibit creation of new instances in a given item group (TopLevelItemDescriptor#isApplicableIn(ItemGroup)).

If an attempt is made to create an item of a prohibited type through the Jenkins CLI or the REST API and either of the above checks fail, Jenkins 2.478 and earlier, LTS 2.462.2 and earlier creates the item in memory, only deleting it from disk.

This allows attackers with Item/Create permission to bypass these restrictions, creating a temporary item. With Item/Configure permission, they can also save the item to persist it.

If an attempt is made to create an item of a prohibited type through the Jenkins CLI or the REST API and either of the above checks fail, Jenkins 2.479, LTS 2.462.3 does not retain the item in memory.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries