{"id":"CVE-2023-34035","published":"2023-07-18T15:29:10Z","modified":"2024-10-25T15:47:50Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.)\n\nSpecifically, an application is vulnerable when all of the following are true:\n\n  *  Spring MVC is on the classpath\n  *  Spring Security is securing more than one servlet in a single application (one of them being Spring MVC’s DispatcherServlet)\n  *  The application uses requestMatchers(String) to refer to endpoints that are not Spring MVC endpoints\n\n\nAn application is not vulnerable if any of the following is true:\n\n  *  The application does not have Spring MVC on the classpath\n  *  The application secures no servlets other than Spring MVC’s DispatcherServlet\n  *  The application uses requestMatchers(String) only for Spring MVC endpoints\n\n\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00658,"percentile":0.52445,"provenance":"source"},"cwes":[],"references":[{"url":"https://spring.io/security/cve-2023-34035","tags":[]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":10.49},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2023-08-01","earliestUrl":"https://github.com/jzheaux/cve-2023-34035-mitigations","repos":[{"name":"jzheaux/cve-2023-34035-mitigations","url":"https://github.com/jzheaux/cve-2023-34035-mitigations","stars":4,"created":"2023-08-01"}]},"first":{"date":"2023-08-01","source":"PoC-in-GitHub","url":"https://github.com/jzheaux/cve-2023-34035-mitigations"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"Spring Security","versions":["Spring Security 5.8.0 to 5.8.4, Spring Security 6.0.0 to 6.0.4, Spring Security 6.1.0 to 6.1.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-25T15:47:27.642233Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-config","vulnerableRanges":[">=5.8.0, <5.8.5",">=6.0.0, <6.0.5",">=6.1.0, <6.1.2"],"patched":["5.8.5","6.0.5","6.1.2"],"from":["GHSA-4vpr-xfrp-cj64"],"provenance":"source"}],"summary":{"text":"Spring Security 5.8 before 5.8.5, 6.0 before 6.0.5, and 6.1 before 6.1.2 contain an authorization rule misconfiguration in applications that use requestMatchers(String) with multiple servlets, where one of them is Spring MVC's DispatcherServlet. An attacker can take advantage of this when Spring MVC is on the classpath, Spring Security protects more than one servlet, and requestMatchers(String) is used to refer to endpoints that are not Spring MVC endpoints, which can lead to access rules not being applied as intended.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:36Z"},"euvd":{"id":"EUVD-2023-1959","exploited":false,"provenance":"source"}}