GHSA-9gp8-6cg8-7h34
Spring Security's spring-security.xsd file is world writable
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.security:spring-security-config | >= 6.1.1, < 6.1.4 | 6.1.4 |
| Maven | org.springframework.security:spring-security-config | >= 6.0.4, < 6.0.7 | 6.0.7 |
| Maven | org.springframework.security:spring-security-config | >= 5.8.4, < 5.8.7 | 5.8.7 |
| Maven | org.springframework.security:spring-security-config | >= 5.7.9, < 5.7.11 | 5.7.11 |
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.