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

- Severity: Medium 4.1 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-02-05T22:00:01.075Z
- Modified: 2026-06-17T06:02:47.073Z
- Also known as: GHSA-9gp8-6cg8-7h34
- Weaknesses: CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Spring Security: Spring Security 6.1.x prior to 6.1.4, Spring Security 6.0.x prior to 6.0.7, Spring Security 5.8.x prior to 5.8.7, Spring Security 5.7.x prior to 5.7.11
- org.springframework.security:spring-security-config (Maven): from 6.1.1 before 6.1.4; from 6.0.4 before 6.0.7; from 5.8.4 before 5.8.7; from 5.7.9 before 5.7.11
- vmware spring_security: from 5.8.4 before 5.8.7; from 6.0.4 before 6.0.7; from 6.1.1 before 6.1.4; 5.7.9; 5.7.10

## Every score

- vmware: CVSS:3.1 4.1 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://spring.io/security/cve-2023-34042> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20241129-0010/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34042> (advisory)
- <https://github.com/spring-projects/spring-security/commit/5b293d21161e946bf241d9e974b9af93cfafaaac> (web)
- <https://github.com/spring-projects/spring-security> (package)
- <https://security.netapp.com/advisory/ntap-20241129-0010> (web)

## Sources

- CVE List: [CVE-2023-34042](https://www.cve.org/CVERecord?id=CVE-2023-34042), CVE Terms of Use, modified 2025-06-03
- GitHub Advisory Database: [GHSA-9gp8-6cg8-7h34](https://github.com/advisories/GHSA-9gp8-6cg8-7h34), CC-BY-4.0, modified 2024-11-29
- NVD: [CVE-2023-34042](https://nvd.nist.gov/vuln/detail/CVE-2023-34042), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34042 · Whole record: https://cve.day/CVE-2023-34042.json · Rebuilt by cve.day 2026-11-25T22:58:32.448Z
