CVE-2023-34042

Spring Security's spring-security.xsd file is world writable in maven/org.springframework.security/spring-security-config

Identifiers

GHSA-9gp8-6cg8-7h34, CVE-2023-34042

Package Slug

maven/org.springframework.security/spring-security-config

Vulnerability

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

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 Versions

All versions starting from 5.7.9 up to 5.7.10, all versions starting from 5.8.4 up to 5.8.6, all versions starting from 6.0.4 up to 6.0.6, all versions starting from 6.1.1 up to 6.1.3

Solution

Upgrade to versions 6.0.7, 6.1.4, 5.7.11, 5.8.7 or above.

Last Modified

2024-02-07

source