CVE-2018-1048
Improper Limitation of a Pathname to a Restricted Directory in Jboss EAP Undertow
Reported by redhat · Published January 24, 2018
undertow-core is fixed in 2.0.0.Beta1 (Maven Central)
It was found that the AJP connector in undertow, as shipped in Jboss EAP 7.1.0.GA, does not use the ALLOW_ENCODED_SLASH option and thus allow the the slash / anti-slash characters encoded in the url which may lead to path traversal and result in the information disclosure of arbitrary local files.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| io.undertow:undertow-core | Maven Central | 2.0.0.Beta1 |
| org.jboss.eap:wildfly-undertow | Maven Central | 7.1.1.GA |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat, Inc. | undertow as shipped in Jboss EAP 7.1.0.GA | 7.1.0.GA |
| Maven | org.jboss.eap:wildfly-undertow | 7.1.0.GA |
| Red Hat, Inc. | undertow as shipped in Jboss EAP 7.1.0.GA | 7.1.0.GA |
| Maven | io.undertow:undertow-core | 0 |
Timeline
- Jan 24, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (20 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (19 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1048
vulnetix vdb fixes CVE-2018-1048
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1048/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2018:0479 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:0481 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:0480 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:0478 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- https://github.com/undertow-io/undertow/commit/1bc0c275aadf5835abfbd3835d5d78095c2f1cf5 patch
- https://cwe.mitre.org/data/definitions/22.html url
- https://nvd.nist.gov/vuln/detail/CVE-2018-1048 advisory
- https://github.com/advisories/GHSA-prfw-3qx6-g9xr advisory