CVE-2015-5322 — jenkins-core
Fix: jenkinsci/jenkins@5431e39CVE-2015-5322 is a Path Traversal vulnerability in org.jenkins-ci.main:jenkins-core. A fix is available for org.jenkins-ci.main:jenkins-core — see the affected versions and patch details below.
Jenkins has Local File Inclusion Vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.jenkins-ci.main:jenkins-core☕org.jenkins-ci.main:jenkins-coreReal-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
Directory traversal vulnerability in Jenkins before 1.638 and LTS before 1.625.2 allows remote attackers to list directory contents and read arbitrary files in the Jenkins servlet resources via directory traversal sequences in a request to jnlpJars/.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jenkins-ci.main:jenkins-core | ≥ 1.626&&< 1.638 | 1.638org.jenkins-ci.main:jenkins-core:1.638 |
| ☕Maven | org.jenkins-ci.main:jenkins-core | all versions | 1.625.2org.jenkins-ci.main:jenkins-core:1.625.2 |
Affected Products
jenkinsjenkinsopenshiftredhatDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jenkins-ci.main:jenkins-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jenkins-ci.main:jenkins-core to 1.638 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2015-5322 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
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.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Enterprise 2.2 | activemq-0:5.9.0-6.redhat.611454.el6op | RHSA-2016:0489 |
| Red Hat OpenShift Enterprise 3.1 | atomic-openshift-0:3.1.1.6-1.git.0.b57e8bd.el7aos | RHSA-2016:0070 |
Frequently Asked Questions
Is CVE-2015-5322 in your dependencies?
Find it across Maven, including transitive dependencies.