CVE-2023-34035: High severity VMware Spring Security vulnerability

Published Jul 18, 2023
·
Updated

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

Other sources

VMware Tanzu Spring Security could allow a remote attacker to bypass security restrictions, caused by a flaw when the application uses requestMatchers(String) and multiple servlets. By using a specially crafted configuration, an attacker could exploit this vulnerability to cause an authorization rule misconfiguration issue.

IBM

Affected Software

6 affected componentsFixes available
maven/org.springframework.security:spring-security-config>=6.1.0<6.1.2
6.1.2
maven/org.springframework.security:spring-security-config>=6.0.0<6.0.5
6.0.5
maven/org.springframework.security:spring-security-config>=5.8.0<5.8.5
5.8.5
VMware Spring Security>=5.8.0<5.8.5
VMware Spring Security>=6.0.0<6.0.5
VMware Spring Security>=6.1.0<6.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.springframework.security:spring-security-config to a version that resolves this vulnerability.

    Fixed in 6.1.2
  2. Upgrade

    Upgrade maven/org.springframework.security:spring-security-config to a version that resolves this vulnerability.

    Fixed in 6.0.5
  3. Upgrade

    Upgrade maven/org.springframework.security:spring-security-config to a version that resolves this vulnerability.

    Fixed in 5.8.5
  4. Upgrade

    Upgrade Spring Security to a version that resolves this vulnerability.

    Fixed in 5.8.5
  5. Upgrade

    Upgrade Spring Security to a version that resolves this vulnerability.

    Fixed in 6.0.5
  6. Upgrade

    Upgrade Spring Security to a version that resolves this vulnerability.

    Fixed in 6.1.2

Event History

Jul 18, 2023
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
DescriptionSeverityWeakness
Data Sourced
04:15 PM
Description
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
06:30 PM
Dec 13, 2023
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-34035?

The severity of CVE-2023-34035 is high with a severity value of 7.

2

Which versions of Spring Security are affected by CVE-2023-34035?

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 are affected by CVE-2023-34035.

3

How can I fix CVE-2023-34035?

To fix CVE-2023-34035, update your Spring Security version to 5.8.5, 6.0.5, or 6.1.2.

4

What is the vulnerability description of CVE-2023-34035?

CVE-2023-34035 is a vulnerability in Spring Security that could be susceptible to authorization rule misconfiguration if the application uses requestMatchers(String) and multiple servlets, one of them being Spring MVC’s DispatcherServlet.

5

Are VMware Spring Security versions affected by CVE-2023-34035?

Yes, VMware 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 are affected by CVE-2023-34035.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203