Skip to content
Fencer Vulns
medium 4.1

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-config
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Decision Manager 7 spring-security-config
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Fuse 7 spring-security-config
    affected: workaround, no fix available
  • Red Hat Integration Camel K 1 spring-security-config
    affected: workaround, no fix planned “Will not fix”
  • Red Hat JBoss Enterprise Application Platform 6 spring-security-config, org.keycloak-keycloak-parent org.keycloak-keycloak-parent
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat JBoss Enterprise Application Platform Expansion Pack spring-security-config
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Dev Spaces devspaces/pluginregistry-rhel8
    affected: 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-config
    affected: workaround, no fix planned “Will not fix”
show 1 more
  • 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-config
    +1 more products
    Red Hat JBoss Enterprise Application Platform 8 spring-security-config
    not affected: vulnerable code not present

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

Sources

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.