CVE-2023-34042
MEDIUM 5.5CVSS 3.1Spring Security's spring-security.xsd file is world writable
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.
- Published
- 5 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-732
- Also known as
- GHSA-9gp8-6cg8-7h34
- Sources
- NVDJSONOSV GHSA-9gp8-6cg8-7h34JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 4.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.8.4, < 5.8.7 | 5.8.7 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.0.4, < 6.0.7 | 6.0.7 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 6.1.1, < 6.1.4 | 6.1.4 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:5.7.9:*:*:*:*:*:*:* |
= 5.7.9 | |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:5.7.10:*:*:*:*:*:*:* |
= 5.7.10 | |
| OSV | Maven | org.springframework.security:spring-security-config | >= 6.1.1, < 6.1.4 | 6.1.4 |
| OSV | Maven | org.springframework.security:spring-security-config | >= 6.0.4, < 6.0.7 | 6.0.7 |
| OSV | Maven | org.springframework.security:spring-security-config | >= 5.8.4, < 5.8.7 | 5.8.7 |
| OSV | Maven | org.springframework.security:spring-security-config | >= 5.7.9, < 5.7.11 | 5.7.11 |
References
- https://spring.io/security/cve-2023-34042 · Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20241129-0010/ · WEB
- 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
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 5 Feb 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Feb 2024)