CVE-2023-34042: 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.
Published Feb 6, 2024 · Updated Nov 29, 2024
Affected packages
org.springframework.security:spring-security-config
- Ecosystem
- Maven
- Affected
- >= 6.1.1, <= 6.1.3
- Fixed in
- 6.1.4
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-config
org.springframework.security:spring-security-config
- Ecosystem
- Maven
- Affected
- >= 6.0.4, <= 6.0.6
- Fixed in
- 6.0.7
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-config
org.springframework.security:spring-security-config
- Ecosystem
- Maven
- Affected
- >= 5.8.4, <= 5.8.6
- Fixed in
- 5.8.7
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-config
org.springframework.security:spring-security-config
- Ecosystem
- Maven
- Affected
- >= 5.7.9, <= 5.7.10
- Fixed in
- 5.7.11
- Check
mvn dependency:tree -Dincludes=org.springframework.security:spring-security-config
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
