CVE-2023-34042
JSON

4.1medium

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

Severity
4.1medium CVSS:3.1 by vmware
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-9gp8-6cg8-7h34

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.

Affected

Product or packageVersionsReported by
Spring SecuritySpring Security 6.1.x prior to 6.1.4, Spring Security 6.0.x prior to 6.0.7, Spring Security 5.8.x prior to 5.8.7, Spring Security 5.7.x prior to 5.7.11CVE List
org.springframework.security:spring-security-config (Maven)from 6.1.1 before 6.1.4, from 6.0.4 before 6.0.7, from 5.8.4 before 5.8.7, from 5.7.9 before 5.7.11GitHub Advisory Database
vmware spring_securityfrom 5.8.4 before 5.8.7, from 6.0.4 before 6.0.7, from 6.1.1 before 6.1.4, 5.7.9, 5.7.10NVD

All scores

vmware4.1medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-732

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El archivo spring-security.xsd dentro del jar spring-security-config se puede escribir en todo el mundo, lo que significa que si se extrajera, cualquier persona con acceso al sistema de archivos podría escribirlo. Si bien no se conocen exploits, este es un ejemplo de "CWE-732: Asignación de permisos incorrecta para recursos críticos" y podría resultar en un exploit. Los usuarios deben actualizar a la última versión de Spring Security para mitigar cualquier vulnerabilidad futura que se encuentre en torno a este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-34042 changed 2025-06-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-9gp8-6cg8-7h34 changed 2024-11-29CC-BY-4.0
NVDCVE-2023-34042 changed 2026-06-17Public domain