CVE-2018-10862 — wildfly-server
MEDIUMCVE-2018-10862 is a medium-severity (CVSS 5.5) Path Traversal vulnerability in org.wildfly.core:wildfly-server. A fix is available for org.wildfly.core:wildfly-server — see the affected versions and patch details below.
Improper Limitation of a Pathname to a Restricted Directory in WildFly
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.wildfly.core:wildfly-serverReal-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
WildFly Core before version 6.0.0.Alpha3 does not properly validate file paths in .war archives, allowing for the extraction of crafted .war archives to overwrite arbitrary files. This is an instance of the 'Zip Slip' vulnerability.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.wildfly.core:wildfly-server | all versions | 6.0.0.Alpha3org.wildfly.core:wildfly-server:6.0.0.Alpha3 |
Affected Products
jboss enterprise application platformredhatvirtualizationredhatwildfly coreredhatDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.wildfly.core:wildfly-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.wildfly.core:wildfly-server to 6.0.0.Alpha3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-10862 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.
This vulnerability can only be exploited by users with deployment permissions.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Data Grid 7.3.6 | wildfly | RHSA-2020:2321 |
| Red Hat JBoss EAP 7.1 | see advisory | RHSA-2018:2277 |
| Red Hat JBoss EAP 7.1 | wildfly | RHSA-2018:2425 |
| Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 | eap7-apache-cxf-0:3.1.16-1.redhat_1.1.ep7.el6 | RHSA-2018:2276 |
| Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 | eap7-activemq-artemis-0:1.5.5.013-1.redhat_1.1.ep7.el6 | RHSA-2018:2423 |
| Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7 | eap7-activemq-artemis-0:1.5.5.013-1.redhat_1.1.ep7.el7 | RHSA-2018:2424 |
| Red Hat JBoss Enterprise Application Platform Continuous Delivery | wildfly | RHSA-2020:2562 |
| Red Hat Single Sign-On 7.2 | wildfly | RHSA-2018:2279 |
Frequently Asked Questions
Is CVE-2018-10862 in your dependencies?
Find it across Maven, including transitive dependencies.