spring-framework: Directory traversal vulnerability with static resources on Windows filesystems
Published Apr 6, 2018
5.9
MEDIUMCVSS 3.1
EPSS 34.44%
Description
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.
Affected products
-
- Version Versions prior to 5.0.5 and 4.3.15StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Spring by Pivotal | Spring Framework | n/a |
|
Configuration 1
- ≥ 4.3.0 · < 4.3.15
- ≥ 5.0.0 · < 5.0.5
Configuration 2
- 12.5.0.3
- 13.1.0.1
- 13.2.0.1
- 13.3.0.1
- 1.6.0
- < 7.0.0.1
- < 8.3
- < 10.2.1
- 12.5.0
- < 6.1.0.4.0
- 12.2.2
- 12.3.3
- 12.2.0.1
- 12.3.1.1
- 12.3.2.1
- 3.0
- 3.0
- 4.0
- ≥ 11.0.0 · ≤ 11.3.1
- 10.1.1
- 10.2
- 10.2.1
- 10.0
- 10.1
- 10.2
- 11.0
- 11.1
- 15.2
- 16.2
- 17.12
- 12.1
- 12.2
- 14.0
- 14.1
- 14.0
- 14.1
- 15.0
- 16.0
- 14.0.1
- 14.0.2
- 14.0.3
- 14.0.4
- 14.1.1
- 14.1.2
- 14.1.3
- 15.0.0.1
- 15.0.1
- 15.0.2
- 16.0
- 16.0.1
- 16.0.2
- 5.3.0
- 6.0.0
- 6.0.1
- 5.1
- 5.2
- 15.0
- 16.0
- 14.0
- 14.1
- 14.0
- 14.1
- 15.0
- 16.0
- 14.0
- 14.1
- 7.1
- 12.1.3.0.0
- 12.2.2.0.0
- 8.4
No data.
Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R8
n/a
Fixed · RHSA-2018:2939
Red Hat JBoss Fuse 7
spring
Fixed · RHSA-2018:2669
Red Hat Openshift Application Runtimes
n/a
Fixed · RHSA-2018:1320
Red Hat Enterprise Linux 8
springframework
Not affected
Red Hat JBoss A-MQ 6
spring
Out of support scope
Red Hat JBoss BRMS 5
spring
Out of support scope
Red Hat JBoss Data Virtualization 6
spring
Out of support scope
Red Hat JBoss Enterprise Application Platform 5
spring
Out of support scope
Red Hat JBoss Fuse 6
spring
Will not fix
Red Hat JBoss Fuse Integration Service 2
spring
Affected
Red Hat JBoss Fuse Service Works 6
spring
Out of support scope
Red Hat JBoss SOA Platform 5
spring
Out of support scope
Red Hat Mobile Application Platform 4
spring
Not affected
Red Hat OpenStack Platform 10 (Newton)
opendaylight
Not affected
Red Hat OpenStack Platform 11 (Ocata)
opendaylight
Not affected
Red Hat OpenStack Platform 12 (Pike)
opendaylight
Not affected
Red Hat OpenStack Platform 13 (Queens)
opendaylight
Not affected
Red Hat OpenStack Platform 9 (Mitaka)
opendaylight
Not affected
Red Hat Storage 3
rhevm-dependencies
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R8 | n/a | Fixed | RHSA-2018:2939 |
| Red Hat JBoss Fuse 7 | spring | Fixed | RHSA-2018:2669 |
| Red Hat Openshift Application Runtimes | n/a | Fixed | RHSA-2018:1320 |
| Red Hat Enterprise Linux 8 | springframework | Not affected | n/a |
| Red Hat JBoss A-MQ 6 | spring | Out of support scope | n/a |
| Red Hat JBoss BRMS 5 | spring | Out of support scope | n/a |
| Red Hat JBoss Data Virtualization 6 | spring | Out of support scope | n/a |
| Red Hat JBoss Enterprise Application Platform 5 | spring | Out of support scope | n/a |
| Red Hat JBoss Fuse 6 | spring | Will not fix | n/a |
| Red Hat JBoss Fuse Integration Service 2 | spring | Affected | n/a |
| Red Hat JBoss Fuse Service Works 6 | spring | Out of support scope | n/a |
| Red Hat JBoss SOA Platform 5 | spring | Out of support scope | n/a |
| Red Hat Mobile Application Platform 4 | spring | Not affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) | opendaylight | Not affected | n/a |
| Red Hat OpenStack Platform 11 (Ocata) | opendaylight | Not affected | n/a |
| Red Hat OpenStack Platform 12 (Pike) | opendaylight | Not affected | n/a |
| Red Hat OpenStack Platform 13 (Queens) | opendaylight | Not affected | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) | opendaylight | Not affected | n/a |
| Red Hat Storage 3 | rhevm-dependencies | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
AV:N/AC:M/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (26 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 34.44% (0.34444) | 98.37th | v5 (v2026.06.15) |
| Aug 8, 2026 | 34.51% (0.34505) | 98.26th | v5 (v2026.06.15) |
| Jun 15, 2026 | 35.68% (0.35681) | 98.25th | v5 (v2026.06.15) |
| Nov 21, 2025 | 90.93% (0.90926) | 99.61th | v4 (v2025.03.14) |
| Nov 18, 2025 | 33.25% (0.33254) | 96.67th | v4 (v2025.03.14) |
| Jul 2, 2025 | 91.18% (0.91180) | 99.63th | v4 (v2025.03.14) |
| Mar 29, 2025 | 92.66% (0.92663) | 99.73th | v4 (v2025.03.14) |
| Mar 17, 2025 | 91.52% (0.91524) | 99.66th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.37% (0.00371) | 73.49th | v3 (v2023.03.01) |
| May 31, 2024 | 0.37% (0.00371) | 72.61th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.40% (0.00400) | 72.91th | v3 (v2023.03.01) |
| Nov 10, 2023 | 0.40% (0.00400) | 70.65th | v3 (v2023.03.01) |
| Oct 7, 2023 | 1.10% (0.01096) | 82.76th | v3 (v2023.03.01) |
| Aug 28, 2023 | 0.80% (0.00803) | 79.53th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.99% (0.00986) | 81.41th | v3 (v2023.03.01) |
| Mar 31, 2023 | 1.68% (0.01676) | 85.76th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.28% (0.01278) | 83.56th | v3 (v2023.03.01) |
| Mar 6, 2023 | 60.66% (0.60660) | 98.92th | v2 (v2022.01.01) |
| Aug 4, 2022 | 60.66% (0.60660) | 98.84th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.14% (0.03136) | 82.33th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.14% (0.03136) | 65.01th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.48% (0.02476) | 54.92th | v1 |
| Jan 6, 2022 | 2.48% (0.02476) | 54.49th | v1 |
| Oct 21, 2021 | 2.48% (0.02476) | 79.00th | v1 |
| Sep 1, 2021 | 2.27% (0.02273) | 77.89th | v1 |
| Apr 14, 2021 | 2.27% (0.02273) | 0.00th | v1 |
References (24)
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html x_refsource_CONFIRMPatchThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html x_refsource_CONFIRMPatchThird Party Advisory
- http://www.securityfocus.com/bid/103699 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:1320 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2669 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2939 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-1271 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1571050 Issue Tracking
- https://github.com/advisories/GHSA-g8hw-794c-4j9g Advisory
- https://github.com/spring-projects/spring-framework/commit/0e28bee0f155b9bf240b4bafc4646e4810cb23f8
- https://github.com/spring-projects/spring-framework/commit/13356a7ee2240f740737c5c83bdccdacc30603ab
- https://github.com/spring-projects/spring-framework/commit/695bf2961feffd35b5560ccc982a2189dcca611f
- https://github.com/spring-projects/spring-framework/commit/91b803a2310344d925e5d4b1709bbcea90375548
- https://github.com/spring-projects/spring-framework/commit/98ad23bef8e2e04143f8f5b201380543a8d8c0c3
- https://github.com/spring-projects/spring-framework/commit/b9ebdaaf3710db473a2e1fec8641c316483a22aa
- https://github.com/spring-projects/spring-framework/commit/f046a066eceefa0799d1bc89bd6e1318f39bdf69
- https://github.com/spring-projects/spring-framework/commit/f59ea610dfcf55cd0b42f6dd76a9b3dab0218aaa
- https://nvd.nist.gov/vuln/detail/CVE-2018-1271
- https://pivotal.io/security/cve-2018-1271 x_refsource_CONFIRMVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-1271
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISCThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISCThird Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html x_refsource_CONFIRMPatchThird Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html x_refsource_MISCPatchThird Party Advisory
Change history (0)
No recorded changes yet.