CVE-2024-47804: Medium severity jenkins lts vulnerability

Published Oct 2, 2024
·
Updated

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.

Other sources

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.

GitHub

Affected Software

4 affected componentsFixes available
maven/org.jenkins-ci.main:jenkins-core>=2.466<2.479
2.479
maven/org.jenkins-ci.main:jenkins-core<2.462.3
2.462.3
Jenkins Jenkins<2.462.3
Jenkins Jenkins<2.479

Event History

Oct 2, 2024
CVE Published
via MITRE·03:35 PM
Data Sourced
via MITRE·03:35 PM
Description
Data Sourced
via NVD·04:15 PM
Description
Data Sourced
via NVD·04:15 PM
SeverityWeaknessAffected Software
Advisory Published
via GitHub·06:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-47804?

CVE-2024-47804 is considered a moderate severity vulnerability.

2

How do I fix CVE-2024-47804?

To fix CVE-2024-47804, upgrade Jenkins to versions 2.479 or 2.462.3 or later.

3

What types of items are affected by CVE-2024-47804?

CVE-2024-47804 affects item creation attempts that are prohibited by ACL permissions in Jenkins.

4

Which versions of Jenkins are vulnerable to CVE-2024-47804?

Jenkins versions 2.478 and earlier, and LTS versions 2.462.2 and earlier are vulnerable to CVE-2024-47804.

5

Is CVE-2024-47804 related to Jenkins CLI or REST API?

Yes, CVE-2024-47804 arises when using the Jenkins CLI or REST API to create disallowed item types.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203