CVE-2023-34042 Spring Security
| Affected software | Spring Security |
|---|---|
| Severity | 5.5 Medium CVSS 3.1 2 scores |
| Fixed in | 6.1.4, 6.0.7, 5.8.7, 5.7.11 |
| Weakness | Incorrect permission assignment (CWE-732) |
| Published | 5 Feb 2024 |
| Updated | 13 Nov 2026 |
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.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 2 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 0.24% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Filesystem
- Action available security rule
- Review human Researcher
- Record active
| Decided by | A researcher's recorded decision for this specific CVE |
|---|---|
| Finding | A researcher found this CVE protected by the ARMR Filesystem. |
Waratek research note
written 2026-11-13Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.
Comments
Rule Name: Filesystem
How to mitigate CVE-2023-34042
Upgrade Spring Security to a release that fixes it: 6.1.4, 6.0.7, 5.8.7 or 5.7.11. Until you can, Waratek RASP blocks exploitation with its filesystem rule. It runs inside the Java application, with no code changes.
CVSS
5.5 MEDIUM
v3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
2 metrics
CVSS
5.5 MEDIUM v3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| 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 | Primary | published |
| 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 |
security@vmware.com | Secondary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.security:spring-security-config |
6.1.1 | 6.1.4 |
unbounded |
org.springframework.security:spring-security-config |
6.0.4 | 6.0.7 |
unbounded |
org.springframework.security:spring-security-config |
5.8.4 | 5.8.7 |
unbounded |
org.springframework.security:spring-security-config |
5.7.9 | 5.7.11 |
unbounded |
Products and versions
2 products, 9 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.springframework.security | spring-security-config | generic | ≥ 5.7.9 and < 5.7.11 · ≥ 5.8.4 and < 5.8.7 · ≥ 6.0.4 and < 6.0.7 · ≥ 6.1.1 and < 6.1.4 |
| nvd | vmware | spring security | generic | 5.7.9 · 5.7.10 · ≥ 5.8.4 and < 5.8.7 · ≥ 6.0.4 and < 6.0.7 · ≥ 6.1.1 and < 6.1.4 |
References
Timeline
Timeline
| Published | 2024-02-05 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |
| Classification created | 2026-11-13 | First commit adding this CVE's research note. |
| Last VRT activity | 2026-11-13 | Most recent commit touching this CVE's classification, patch or rule file. |