spring-framework: Improper URL path validation allows for bypassing of security checks on static resources
Published Mar 16, 2018
5.3
MEDIUMCVSS 3.1
EPSS 2.92%
Description
Spring Security (Spring Security 4.1.x before 4.1.5, 4.2.x before 4.2.4, and 5.0.x before 5.0.1; and Spring Framework 4.3.x before 4.3.14 and 5.0.x before 5.0.3) does not consider URL path parameters when processing security constraints. By adding a URL path parameter with special encodings, an attacker may be able to bypass a security constraint. The root cause of this issue is a lack of clarity regarding the handling of path parameters in the Servlet Specification. Some Servlet containers include path parameters in the value returned for getPathInfo() and some do not. Spring Security uses the value returned by getPathInfo() as part of the process of mapping requests to security constraints. In this particular attack, different character encodings used in path parameters allows secured Spring MVC static resource URLs to be bypassed.
Affected products
-
- Version Older unmaintained versions of Spring Security & Spring Framework were not analyzed and may be impactedStatusaffectedConstraints-
- Version Spring Framework 5.0.0 - 5.0.2, 4.3.0 - 4.3.13StatusaffectedConstraints-
- Version spring Security 4.1.0 - 4.1.4, 4.2.0 - 4.2.3, 5.0.0StatusaffectedConstraints-
- 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 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dell EMC | Spring by Pivotal | n/a |
|
Configuration 1
- ≥ 4.3.0 · < 4.3.14
- ≥ 5.0.0 · < 5.0.3
- ≥ 4.1.0 · < 4.1.5
- ≥ 4.2.0 · < 4.2.4
- ≥ 5.0.0 · < 5.0.1
Configuration 3
- 12.1
- 12.2
- 7.1
No data.
Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R7
n/a
Fixed · RHSA-2018:2405
Red Hat Enterprise Linux 8
springframework
Not affected
Red Hat Fuse 7
spring
Affected
Red Hat JBoss A-MQ 6
spring
Not affected
Red Hat JBoss BRMS 5
spring
Not affected
Red Hat JBoss Data Virtualization 6
spring
Not affected
Red Hat JBoss Enterprise Application Platform 5
jbossweb
Not affected
Red Hat JBoss Enterprise Application Platform 6
jbossweb
Not affected
Red Hat JBoss Enterprise Application Platform 7
undertow-core
Not affected
Red Hat JBoss Enterprise Web Server 2
tomcat
Not affected
Red Hat JBoss Fuse 6
spring
Not affected
Red Hat JBoss Fuse Integration Service 2
spring
Affected
Red Hat JBoss Fuse Service Works 6
spring
Not affected
Red Hat JBoss Portal 6
spring
Not affected
Red Hat JBoss SOA Platform 5
spring
Not affected
Red Hat JBoss Web Server 3
tomcat
Not affected
Red Hat Mobile Application Platform 4
spring
Not affected
Red Hat OpenShift Enterprise 3
millicore
Not affected
Red Hat OpenStack Platform 10 (Newton)
opendaylight
Will not fix
Red Hat OpenStack Platform 11 (Ocata)
opendaylight
Will not fix
Red Hat OpenStack Platform 12 (Pike)
opendaylight
Will not fix
Red Hat OpenStack Platform 9 (Mitaka)
opendaylight
Will not fix
Red Hat Storage 3
rhevm-dependencies
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R7 | n/a | Fixed | RHSA-2018:2405 |
| Red Hat Enterprise Linux 8 | springframework | Not affected | n/a |
| Red Hat Fuse 7 | spring | Affected | n/a |
| Red Hat JBoss A-MQ 6 | spring | Not affected | n/a |
| Red Hat JBoss BRMS 5 | spring | Not affected | n/a |
| Red Hat JBoss Data Virtualization 6 | spring | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 5 | jbossweb | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | jbossweb | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 7 | undertow-core | Not affected | n/a |
| Red Hat JBoss Enterprise Web Server 2 | tomcat | Not affected | n/a |
| Red Hat JBoss Fuse 6 | spring | Not affected | n/a |
| Red Hat JBoss Fuse Integration Service 2 | spring | Affected | n/a |
| Red Hat JBoss Fuse Service Works 6 | spring | Not affected | n/a |
| Red Hat JBoss Portal 6 | spring | Not affected | n/a |
| Red Hat JBoss SOA Platform 5 | spring | Not affected | n/a |
| Red Hat JBoss Web Server 3 | tomcat | Not affected | n/a |
| Red Hat Mobile Application Platform 4 | spring | Not affected | n/a |
| Red Hat OpenShift Enterprise 3 | millicore | Not affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 11 (Ocata) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 12 (Pike) | opendaylight | Will not fix | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) | opendaylight | Will not fix | n/a |
| Red Hat Storage 3 | rhevm-dependencies | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
As a general precaution, users are encouraged to separate public and private resources. For example, separating static resources and mapping them to /resources/public/** and /resources/private/** is preferred to having one common root with mixed public and private resource content underneath.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
AV:N/AC:L/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 (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.92% (0.02917) | 86.54th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.86% (0.02857) | 84.86th | v5 (v2026.06.15) |
| Mar 22, 2026 | 1.55% (0.01549) | 81.26th | v4 (v2025.03.14) |
| Mar 21, 2026 | 3.09% (0.03086) | 86.66th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.44% (0.01436) | 78.90th | v4 (v2025.03.14) |
| Mar 29, 2025 | 51.03% (0.51026) | 96.88th | v4 (v2025.03.14) |
| Mar 24, 2025 | 1.44% (0.01436) | 78.86th | v4 (v2025.03.14) |
| Mar 23, 2025 | 15.32% (0.15323) | 93.76th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.44% (0.01436) | 79.34th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.18% (0.00178) | 56.33th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.18% (0.00178) | 53.95th | v3 (v2023.03.01) |
| Mar 10, 2023 | 0.31% (0.00311) | 65.33th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.34% (0.00343) | 66.95th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.11% (0.01108) | 53.57th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.11% (0.01108) | 51.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.45% (0.01454) | 32.67th | v1 |
| Jan 6, 2022 | 1.45% (0.01454) | 31.96th | v1 |
| Sep 1, 2021 | 1.45% (0.01454) | 71.88th | v1 |
| Apr 14, 2021 | 1.45% (0.01454) | 0.00th | v1 |
References (20)
- https://access.redhat.com/errata/RHSA-2018:2405 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-1199 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1540030 Issue Tracking
- https://github.com/advisories/GHSA-v596-fwhq-8x48 Advisory
- https://github.com/spring-projects/spring-framework/commit/554662ebab87af97ba25d0c9f5449c7acda8df9c
- https://github.com/spring-projects/spring-framework/commit/73a81f98d40eb6f5faa91aceb868db53fae2a94b
- https://github.com/spring-projects/spring-framework/commit/e6e6b8f4adcad99d133de97fcfac5ae5dd14153c
- https://github.com/spring-projects/spring-security/commit/0eef5b4b425ab42b9fa0fde1a3f36a37b92558f
- https://github.com/spring-projects/spring-security/commit/65da28e4bf62f58fb130ba727cbbd621b44a36d
- https://github.com/spring-projects/spring-security/commit/cb8041ba67635edafcc934498ef82707157fd22
- https://lists.apache.org/thread.html/4ed49b103f64a0cecb38064f26cbf1389afc12124653da2d35166dbe%40%3Cissues.activemq.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/4ed49b103f64a0cecb38064f26cbf1389afc12124653da2d35166dbe@%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/ab825fcade0b49becfa30235b3d54f4a51bb74ea96b6c9adb5d1378c%40%3Cissues.activemq.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/ab825fcade0b49becfa30235b3d54f4a51bb74ea96b6c9adb5d1378c@%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/dcf8599b80e43a6b60482607adb76c64672772dc2d9209ae2170f369%40%3Cissues.activemq.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/dcf8599b80e43a6b60482607adb76c64672772dc2d9209ae2170f369@%3Cissues.activemq.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-1199
- https://pivotal.io/security/cve-2018-1199 x_refsource_CONFIRMVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-1199
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISCThird Party Advisory
Change history (0)
No recorded changes yet.