Spring Security Advisories

CVE-2023-34042: Incorrect Permission Assignment for spring-security.xsd

LOW | SEPTEMBER 18, 2023 | CVE-2023-34042


The spring-security.xsd file inside the spring-security-config jar is world writable which means that if it were extracted it could be written by anyone with access to the file system.

While there are no known exploits, this is an example of “CWE-732: Incorrect Permission Assignment for Critical Resource” and could result in an exploit. Users should update to the latest version of Spring Security to mitigate any future exploits found around this issue.

Affected Spring Products and Versions

Spring Security:

  • 6.1.1 - 6.1.3
  • 6.0.4 - 6.0.6
  • 5.8.4 - 5.8.6
  • 5.7.9 - 5.7.10


The following Spring Security versions contain fixes for this vulnerability:

  • 6.1.4+
  • 6.0.7+
  • 5.8.7+
  • 5.7.11+


This vulnerability was disclosed responsibly by Martin Holland - Oval Business Solutions

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all