CVE-2018-1271 json
Path Traversal in org.springframework:spring-core
published 2018-04-06 8 y ago modified 2026-06-17 4 mo ago also GHSA-g8hw-794c-4j9g , EUVD-2018-0599
- cvss
- 5.9
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 30.3%
- EPSS 30.3% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). When static resources are served from a file system on Windows (as opposed to the classpath, or the ServletContext), a malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.
Patch / fix
- maven org.springframework:spring-core 4.3.15, 5.0.5
- vmware spring_framework 4.3.15, 5.0.5
- oracle communications_converged_application_server 7.0.0.1
- oracle communications_diameter_signaling_router 8.3
- oracle communications_performance_intelligence_center 10.2.1
- oracle communications_services_gatekeeper 6.1.0.4.0
- github.com/spring-projects/spring-framework@0e28bee commit
- github.com/spring-projects/spring-framework@13356a7 commit
- github.com/spring-projects/spring-framework@695bf29 commit
- github.com/spring-projects/spring-framework@91b803a commit
- github.com/spring-projects/spring-framework@98ad23b commit
- github.com/spring-projects/spring-framework@b9ebdaa commit
- github.com/spring-projects/spring-framework@f046a06 commit
- github.com/spring-projects/spring-framework@f59ea61 commit
- oracle.com/technetwork/security-advisory/cpujul2018-4258247.html advisory
- oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1271 updated cvss 6.5
spring-framework: Directory traversal vulnerability with static resources on Windows filesystems
-
Red Hat JBoss A-MQ 6 spring Red Hat JBoss BRMS 5 spring Red Hat JBoss Data Virtualization 6 spring Red Hat JBoss Enterprise Application Platform 5 springaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Fuse 6 springaffected: no fix planned “Will not fix”
-
Red Hat JBoss Fuse Integration Service 2 springaffected: no fix available
-
Red Hat JBoss Fuse Service Works 6 spring Red Hat JBoss SOA Platform 5 springaffected: no fix planned “Out of support scope”
-
Red Hat Fuse 7fixed: vendor fix RHSA-2018:2669
-
Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R8fixed: vendor fix RHSA-2018:2939
-
Red Hat Openshift Application Runtimesfixed: vendor fix RHSA-2018:1320
-
Red Hat Enterprise Linux 8 springframework, springframework-tx, springframework-aop, springframework-jms, springframework-orm, springframework-oxm, +14 more Red Hat Mobile Application Platform 4 spring Red Hat OpenStack Platform 9 (Mitaka) opendaylight Red Hat OpenStack Platform 10 (Newton) opendaylight Red Hat OpenStack Platform 11 (Ocata) opendaylight Red Hat OpenStack Platform 12 (Pike) opendaylightnot affected: vulnerable code not present
+2 more productsfewer
Red Hat OpenStack Platform 13 (Queens) opendaylight Red Hat Storage 3 rhevm-dependencies
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
30.34% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Spring MVC Framework - Local File Inclusion nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework:spring-core | >=5.0.0, <5.0.5 <4.3.15 |
5.0.5 4.3.15 |
Affected products
- Spring by Pivotal Spring Framework
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
oracle.com
/technetwork/security-advisory/cpujul2018-4258247.html
web, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpuoct2018-4428296.html
web, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpujan2019-5072801.html
web, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpujul2019-5072835.html
web, patch, third-party-advisory
-
github.com
/spring-projects/spring-framework/commit/0e28bee0f155b9bf240b4bafc4646e4810cb23f8
web
-
github.com
/spring-projects/spring-framework/commit/13356a7ee2240f740737c5c83bdccdacc30603ab
web
-
github.com
/spring-projects/spring-framework/commit/695bf2961feffd35b5560ccc982a2189dcca611f
web
-
github.com
/spring-projects/spring-framework/commit/91b803a2310344d925e5d4b1709bbcea90375548
web
-
github.com
/spring-projects/spring-framework/commit/98ad23bef8e2e04143f8f5b201380543a8d8c0c3
web
-
github.com
/spring-projects/spring-framework/commit/b9ebdaaf3710db473a2e1fec8641c316483a22aa
web
-
github.com
/spring-projects/spring-framework/commit/f046a066eceefa0799d1bc89bd6e1318f39bdf69
web
-
github.com
/spring-projects/spring-framework/commit/f59ea610dfcf55cd0b42f6dd76a9b3dab0218aaa
web
-
access.redhat.com
/errata/RHSA-2018:2669
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2939
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:1320
vendor-advisory, web, third-party-advisory
-
pivotal.io
/security/cve-2018-1271
web, vendor-advisory
-
securityfocus.com
/bid/103699
vdb-entry, web, third-party-advisory
-
oracle.com
/security-alerts/cpujul2020.html
web, third-party-advisory
-
oracle.com
/security-alerts/cpuoct2021.html
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1271
advisory
-
github.com
/advisories/GHSA-g8hw-794c-4j9g
advisory
Sources
- CVE List CVE-2018-1271
- GitHub Advisory GHSA-g8hw-794c-4j9g
- NVD CVE-2018-1271
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.