# CVE-2023-34035: Spring Security's authorization rules can be misconfigured when using multiple servlets

Source: https://junglewise.ai/threats/cve-2023-34035-spring-security-s-authorization-rules-can-be-misconfigured-when  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-07-18  
License: CC BY 4.0 with a link back

CVE-2023-34035 · Severity: low · CVSS 3.1 · Published 2023-07-18

Spring Security's authorization rules can be misconfigured when using multiple servlets

Technologies: [org.springframework.security:spring-security-config (Maven)](https://junglewise.ai/threats/technologies/org-springframework-security-spring-security-config). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-34035 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-34035 being exploited in the wild.

**How severe is CVE-2023-34035?** Low severity, with a CVSS score of 3.1, published 18 July 2023.

**Which products and versions are affected?** org.springframework.security:spring-security-config (Maven) ECOSYSTEM:introduced=5.8.0,fixed=5.8.5.

**Is there a fix for CVE-2023-34035?** Yes. org.springframework.security:spring-security-config (Maven): upgrade to 5.8.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-34035?** Check whether you run org.springframework.security:spring-security-config (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework.security:spring-security-config (Maven): upgrade to 5.8.5 or later

  ```sh
  # set org.springframework.security:spring-security-config to 5.8.5 in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework.security:spring-security-config (Maven) ECOSYSTEM:introduced=5.8.0,fixed=5.8.5

## Identifiers

- CVE-2023-34035
- GHSA-4vpr-xfrp-cj64

## Related threats

- [Spring Spring Security authorization bypass in intercept-url matching](https://junglewise.ai/threats/cve-2026-22754-spring-spring-security-authorization-bypass-in-intercept-url)
- [Spring Security Doesn't Correctly Include Servlet Path in Path Matching of HttpSecurity#securityMatchers](https://junglewise.ai/threats/cve-2026-22753-spring-security-doesn-t-correctly-include-servlet-path-in-path)
- [Spring Security's spring-security.xsd file is world writable](https://junglewise.ai/threats/cve-2023-34042-spring-security-s-spring-security-xsd-file-is-world-writable)
- [Access Control Bypass in Spring Security](https://junglewise.ai/threats/cve-2023-34034-access-control-bypass-in-spring-security)
