CVE-2018-1047 — wildfly-undertow
MEDIUMCVE-2018-1047 is a medium-severity (CVSS 5.5) Improper Input Validation vulnerability in org.wildfly:wildfly-undertow. A fix is available for org.wildfly:wildfly-undertow — see the affected versions and patch details below.
Improper Input Validation in org.wildfly:wildfly-undertow
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:wildfly-undertowReal-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
A flaw was found in Wildfly 9.x. A path traversal vulnerability through the org.wildfly.extension.undertow.deployment.ServletResourceManager.getResource method could lead to information disclosure of arbitrary local files.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.wildfly:wildfly-undertow | all versions | 12.0.0org.wildfly:wildfly-undertow:12.0.0 |
Affected Products
jboss enterprise application platformredhatjboss wildfly application serverredhatDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.wildfly:wildfly-undertow, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.wildfly:wildfly-undertow to 12.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-1047 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 JBoss EAP 7.1 | see advisory | RHSA-2018:1251 |
| Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 | eap7-activemq-artemis-0:1.5.5.010-1.redhat_1.1.ep7.el6 | RHSA-2018:1248 |
| Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 | eap7-jboss-ec2-eap-0:7.1.2-1.GA_redhat_1.ep7.el6 | RHSA-2018:1249 |
| Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7 | eap7-activemq-artemis-0:1.5.5.010-1.redhat_1.1.ep7.el7 | RHSA-2018:1247 |
| Text-Only RHOAR | see advisory | RHSA-2018:2938 |
Frequently Asked Questions
Is CVE-2018-1047 in your dependencies?
Find it across Maven, including transitive dependencies.