# CVE-2023-34042: Spring Security's spring-security.xsd file is world writable

Source: https://junglewise.ai/threats/cve-2023-34042-spring-security-s-spring-security-xsd-file-is-world-writable  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-02-06  
License: CC BY 4.0 with a link back

CVE-2023-34042 · Severity: low · CVSS 3.1 · Published 2024-02-06

Spring Security's spring-security.xsd file is world writable

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-34042 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-34042 being exploited in the wild.

**How severe is CVE-2023-34042?** Low severity, with a CVSS score of 3.1, published 6 February 2024.

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

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

**Am I affected by CVE-2023-34042?** 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 6.1.4 or later

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


## Affected products

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

## Identifiers

- CVE-2023-34042
- GHSA-9gp8-6cg8-7h34

## 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)
- [Access Control Bypass in Spring Security](https://junglewise.ai/threats/cve-2023-34034-access-control-bypass-in-spring-security)
- [Spring Security's authorization rules can be misconfigured when using multiple servlets](https://junglewise.ai/threats/cve-2023-34035-spring-security-s-authorization-rules-can-be-misconfigured-when)
