What’s Vulnerable › Vulnerabilities
CVE-2023-34042
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-02-05 · updated 2026-06-17
- Weakness: CWE-732
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 products
- 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 — fixed in 5.8.7, 6.0.7, 6.1.4
- Spring Security: from Spring Security 6.1.x prior through 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
How to fix
Upgrade to a fixed version: Spring Security 5.8.7, 6.0.7, 6.1.4. Check the vendor advisory for mitigations.
References
- https://spring.io/security/cve-2023-34042
- https://security.netapp.com/advisory/ntap-20241129-0010/
- https://spring.io/security/cve-2023-34042
Get alerted when CVE-2023-34042 or the next vulnerability affects your stack