ADVISORIES

GitHub Advisory Database

GHSA-9gp8-6cg8-7h34

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

Moderate CVE-2023-34042

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-config
From 6.1.1 before 6.1.4 (fixed in 6.1.4)
Mavenorg.springframework.security:spring-security-config
From 6.0.4 before 6.0.7 (fixed in 6.0.7)
Mavenorg.springframework.security:spring-security-config
From 5.8.4 before 5.8.7 (fixed in 5.8.7)
Mavenorg.springframework.security:spring-security-config
From 5.7.9 before 5.7.11 (fixed in 5.7.11)

References