CVE-2023-34042

Incorrect Permission Assignment for Critical Resource in maven/org.springframework.security/spring-security-core

Identifiers

CVE-2023-34042

Package Slug

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

Vulnerability

Incorrect Permission Assignment for Critical Resource

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 before 5.8.7, all versions starting from 6.0.4 before 6.0.7, all versions starting from 6.1.1 before 6.1.4

Solution

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

Last Modified

2024-02-13

source