CVE-2023-34035 Spring Security
| Affected software | Spring Security |
|---|---|
| Severity | 7.3 High CVSS 3.1 2 scores |
| Fixed in | 5.8.5, 6.0.5, 6.1.2 |
| Weakness | Incorrect authorization (CWE-863) |
| Published | 18 Jul 2023 |
| Updated | 17 Jun 2026 |
Description
Spring Security versions 5.8 prior to 5.8.5, 6.0 prior to 6.0.5, and 6.1 prior to 6.1.2 could be susceptible to authorization rule misconfiguration if the application uses requestMatchers(String) and multiple servlets, one of them being Spring MVC’s DispatcherServlet. (DispatcherServlet is a Spring MVC component that maps HTTP endpoints to methods on @Controller-annotated classes.) Specifically, an application is vulnerable when all of the following are true: * Spring MVC is on the classpath * Spring Security is securing more than one servlet in a single application (one of them being Spring MVC’s DispatcherServlet) * The application uses requestMatchers(String) to refer to endpoints that are not Spring MVC endpoints An application is not vulnerable if any of the following is true: * The application does not have Spring MVC on the classpath * The application secures no servlets other than Spring MVC’s DispatcherServlet * The application uses requestMatchers(String) only for Spring MVC endpoints
Exploitation status
No public exploit
No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC 1 indexed, none at 5+ stars
- EPSS 0.66% chance in 30 days
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | jzheaux/cve-2023-34035-mitigations | 4 | 2023-08-01 |
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists: spring-projects/spring-security-samples 4e3bec9.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all |
|---|---|
| Finding | This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious. |
CVSS
7.3 HIGH
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
2 metrics
CVSS
7.3 HIGH v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 7.3 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
security@vmware.com | Secondary | published |
| CVSS 3.1 | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update April 2026 ↗ | CPU | 2026-Q2 | Oracle Financial Services Applications / Onboarding Batch Processes (Spring Security) (14.5.0.0.0-14.8.0.0.0) |
| Oracle Critical Patch Update January 2024 ↗ | CPU | 2024-Q1 | Oracle Communications / Install/Upgrade (Spring Boot) (23.2.0, 23.3.1) Oracle Communications Applications / PSR Designer (Spring Security) (7.4.2.8.0) Oracle Financial Services Applications / Base (Spring Security) (14.5.0-14.7.0) Oracle Financial Services Applications / Common (Spring Security) (14.5.0-14.7.0) Oracle Financial Services Applications / UI General (Spring Security) (21.1.0, 22.1.0, 22.2.0) |
| Oracle Critical Patch Update October 2023 ↗ | CPU | 2023-Q4 | Oracle Communications / Install/Upgrade (Spring Security) (23.1.0-23.1.7, 23.2.0-23.2.2) Oracle Communications / Install/Upgrade (Spring Security) (23.1.0-23.1.8, 23.2.0-23.2.4) Oracle Communications / Install/Upgrade (Spring Security) (23.1.3, 23.2.1, 23.3.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications | Install/Upgrade (Spring Boot) | 23.2.0, 23.3.1 | 23.2.0 · 23.3.1 |
| Oracle Communications | Install/Upgrade (Spring Security) | 23.1.0-23.1.7, 23.2.0-23.2.2 | 23.1.3 · 23.2.1 · 23.3.0 |
| Oracle Communications Applications | PSR Designer (Spring Security) | 7.4.2.8.0 | 7.4.2.8.0 |
| Oracle Financial Services Applications | Base (Spring Security) | 14.5.0-14.7.0 | |
| Oracle Financial Services Applications | Common (Spring Security) | 14.5.0-14.7.0 | |
| Oracle Financial Services Applications | Onboarding Batch Processes (Spring Security) | 14.5.0.0.0-14.8.0.0.0 | |
| Oracle Financial Services Applications | UI General (Spring Security) | 21.1.0, 22.1.0, 22.2.0 | 21.1.0 · 22.1.0 · 22.2.0 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.security:spring-security-config |
5.8.0 | 5.8.5 |
unbounded |
org.springframework.security:spring-security-config |
6.0.0 | 6.0.5 |
unbounded |
org.springframework.security:spring-security-config |
6.1.0 | 6.1.2 |
unbounded |
Products and versions
2 products, 6 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.springframework.security | spring-security-config | generic | ≥ 5.8.0 and < 5.8.5 · ≥ 6.0.0 and < 6.0.5 · ≥ 6.1.0 and < 6.1.2 |
| nvd | vmware | spring security | generic | ≥ 5.8.0 and < 5.8.5 · ≥ 6.0.0 and < 6.0.5 · ≥ 6.1.0 and < 6.1.2 |
References
Timeline
Timeline
| Published | 2023-07-18 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |