CVE-2024-52549 — script-security
MEDIUMCVE-2024-52549 is a medium-severity (CVSS 4.3) CWE-862 vulnerability in org.jenkins-ci.plugins:script-security. A fix is available for org.jenkins-ci.plugins:script-security — see the affected versions and patch details below.
Missing permission check in Jenkins Script Security Plugin
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-52549.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.jenkins-ci.plugins:script-securityReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Jenkins Script Security Plugin 1367.vdf2fc45f229c and earlier, except 1365.1367.va_3b_b_89f8a_95b_ and 1362.1364.v4cf2dc5d8776, does not perform a permission check in a method implementing form validation, allowing attackers with Overall/Read permission to check for the existence of files on the controller file system. This allows attackers with Overall/Read permission to check for the existence of files on the controller file system. Script Security Plugin 1368.vb_b_402e3547e7 requires Overall/Administer permission for the affected form validation method.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jenkins-ci.plugins:script-security | all versions | 1368.vborg.jenkins-ci.plugins:script-security:1368.vb |
Affected Products
script securityjenkinsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jenkins-ci.plugins:script-security, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jenkins-ci.plugins:script-security to 1368.vb or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-52549 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.Source: Red Hat security advisory for CVE-2024-52549 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| OCP-Tools-4.12-RHEL-8 | jenkins-0:2.479.3.1740464431-3.el8 | RHSA-2025:2223 |
| OCP-Tools-4.13-RHEL-8 | jenkins-0:2.479.3.1740464433-3.el8 | RHSA-2025:2222 |
| OCP-Tools-4.14-RHEL-8 | jenkins-0:2.479.3.1740109575-3.el8 | RHSA-2025:2221 |
| OCP-Tools-4.15-RHEL-8 | jenkins-0:2.479.3.1740051993-3.el8 | RHSA-2025:2220 |
| OCP-Tools-4.16-RHEL-9 | jenkins-0:2.479.3.1739896390-3.el9 | RHSA-2025:2219 |
| OCP-Tools-4.17-RHEL-9 | jenkins-0:2.479.3.1739859586-3.el9 | RHSA-2025:2218 |
Frequently Asked Questions
Is CVE-2024-52549 in your dependencies?
Find it across Maven, including transitive dependencies.