CVE-2023-34035
HIGHDescription
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
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Exploit Intelligence
Moderate risk: more likely to be exploited than 43% of all known CVEs.
References
Related Vulnerabilities
Other CWE-863 (Incorrect Authorization) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-22518 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2023-38035 | Critical | 9.8 | 100% | KEV + Ransom | - |
| CVE-2022-46169 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2025-29927 | Critical | 9.1 | 100% | - | Fix |
| CVE-2024-38856 | Critical | 9.8 | 99% | KEV | Fix |
| CVE-2020-36289 | Medium | 5.3 | 99% | - | Fix |
Embed a live status badge for CVE-2023-34035
Markdown
[](https://tridentstack.com/cve/CVE-2023-34035)HTML
<a href="https://tridentstack.com/cve/CVE-2023-34035"><img src="https://tridentstack.com/cve/badge/CVE-2023-34035.svg" alt="CVE-2023-34035"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.