Incorrect Permission Assignment for spring-security.xsd

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

Description

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

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
6.1.4OSS
6.0.7OSS
5.8.7OSS
5.7.11OSS

No further mitigation steps are necessary.

Credit

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

History

  • 2023-09-18: Initial vulnerability report published.

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