CVE-2024-47804 Jenkins item creation restriction bypass vulnerability

Medium 4.3 Published Updated

Attackers with configure permissions can bypass item creation restrictions by saving in-memory items, allowing unauthorized item persistence.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-47804?

CVE-2024-47804 is a medium-severity vulnerability in Jenkins Jenkins, published on 2 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-843

Which versions are affected by CVE-2024-47804?

5 open source packages ship an affected version, including org.jenkins-ci.main:jenkins-core and jenkins. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.main:jenkins-core MavenAll versions2.462.3
org.jenkins-ci.main:jenkins-core MavenAll versions2.462.3
org.jenkins-ci.main:jenkins-core MavenFrom 2.4662.479
org.jenkins-ci.main:jenkins-core MavenFrom 2.4662.479
jenkins BitnamiAll versions2.462.3

Products include Jenkins Jenkins.

How do I fix CVE-2024-47804?

Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 2.462.3 or 2.479.

Is CVE-2024-47804 being exploited?

There is no known exploitation of CVE-2024-47804 in the wild and no public exploit code.

All Jenkins Jenkins vulnerabilities

Sources

Also known as BIT-jenkins-2024-47804, GHSA-f9qj-77q2-h5c5.

Is CVE-2024-47804 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free