Every CVE Search/ Get API key

CVE-2023-34042

Spring Security's spring-security.xsd file is world writable

4.1 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.24%Up 0.2 points since Feb 8, 2024
90%50%10%1%

What each source reports

CVE List Score used 4.1

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.

Record
CVE-2023-34042
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-732
Updated
2026-11-02
EUVDEUVD-2024-0595 4.1

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.

Record
EUVD-2024-0595
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-9gp8-6cg8-7h34 5.5

Spring 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.

Record
GHSA-9gp8-6cg8-7h34
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-732
Updated
2026-11-02
NVD 4.1

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.

Record
CVE-2023-34042
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-732
Updated
2026-11-02
OSV 4.1

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.

Record
CVE-2023-34042
CVSS 3.1
4.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVGHSA-9gp8-6cg8-7h34 5.5

Spring 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.

Record
GHSA-9gp8-6cg8-7h34
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-732
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.security:spring-security-config
Maven
6.1.1 to 6.1.3
6.1.4
org.springframework.security:spring-security-config
Maven
6.0.4 to 6.0.6
6.0.7
org.springframework.security:spring-security-config
Maven
5.8.4 to 5.8.6
5.8.7
org.springframework.security:spring-security-config
Maven
5.7.9 to 5.7.10
5.7.11
org.springframework.security:spring-security-config
Maven
6.1.1 up to 6.1.4, plus listed versions
6.1.26.1.3
6.1.4
org.springframework.security:spring-security-config
Maven
6.0.4 up to 6.0.7, plus listed versions
6.0.56.0.6
6.0.7
org.springframework.security:spring-security-config
Maven
5.8.4 up to 5.8.7, plus listed versions
5.8.55.8.6
5.8.7
org.springframework.security:spring-security-config
Maven
5.7.9 up to 5.7.11, plus listed versions
5.7.10
5.7.11

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-34042 is a medium vulnerability (CVSS 4.1) in Spring Security, published February 5, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.24%, the 15th percentile. Fixed in org.springframework.security:spring-security-config 6.1.4.

References

MoveEnter Open