CVE-2023-34042 json
Spring Security's spring-security.xsd file is world writable
published 2024-02-05 2 y ago modified 2026-06-17 4 mo ago also GHSA-9gp8-6cg8-7h34 , EUVD-2024-0595
- cvss
- 4.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework.security:spring-security-config 5.7.11, 5.8.7, 6.0.7, 6.1.4
- vmware spring_security 5.8.7, 6.0.7, 6.1.4
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-34042 updated cvss 5.5
spring-security-config: Incorrect Permission Assignment for spring-security.xsd
-
Red Hat build of Apache Camel for Spring Boot 3 spring-security-configaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Decision Manager 7 spring-security-configaffected: workaround, no fix planned “Will not fix”
-
Red Hat Fuse 7 spring-security-configaffected: workaround, no fix available
-
Red Hat Integration Camel K 1 spring-security-configaffected: workaround, no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform 6 spring-security-config, org.keycloak-keycloak-parent org.keycloak-keycloak-parentaffected: workaround, no fix planned “Out of support scope”
-
Red Hat JBoss Enterprise Application Platform Expansion Pack spring-security-configaffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Dev Spaces devspaces/pluginregistry-rhel8affected: workaround, no fix available
-
Red Hat Process Automation 7 spring-security-config Red Hat Single Sign-On 7 spring-security-config Red Hat streams for Apache Kafka spring-security-configaffected: workaround, no fix planned “Will not fix”
show 1 moreshow fewer
-
Red Hat A-MQ Clients 2 spring-security-config Red Hat build of Apache Camel for Spring Boot 4 spring-security-config Red Hat Build of Keycloak spring-security-config Red Hat Data Grid 8 spring-security-config Red Hat JBoss Data Grid 7 spring-security-config Red Hat JBoss Enterprise Application Platform 7 spring-security-confignot affected: vulnerable code not present
+1 more productsfewer
Red Hat JBoss Enterprise Application Platform 8 spring-security-config
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework.security:spring-security-config | >=6.1.1, <6.1.4 >=6.0.4, <6.0.7 >=5.8.4, <5.8.7 >=5.7.9, <5.7.11 |
6.1.4 6.0.7 5.8.7 5.7.11 |
Affected products
- N/A Spring Security
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
- Technology feeds
References
-
github.com
/spring-projects/spring-security/commit/5b293d21161e946bf241d9e974b9af93cfafaaac
web
-
spring.io
/security/cve-2023-34042
web, vendor-advisory
- security.netapp.com /advisory/ntap-20241129-0010/
-
nvd.nist.gov
/vuln/detail/CVE-2023-34042
advisory
-
github.com
/spring-projects/spring-security
package
-
security.netapp.com
/advisory/ntap-20241129-0010
web
Sources
- CVE List CVE-2023-34042
- GitHub Advisory GHSA-9gp8-6cg8-7h34
- NVD CVE-2023-34042
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.