MODERATE 5.5

CVE-2023-34042

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.security » spring-security-config
>= 5.7.9, < 5.7.11>= 5.8.4, < 5.8.7>= 6.0.4, < 6.0.7>= 6.1.1, < 6.1.4
5.7.11, 5.8.7, 6.0.7, 6.1.4

Blast radius

1affected artifacts
11affected versions
927dependent artifacts (est.)
6,060dependent versions

9% of the dependent artifacts (91) still pull an affected version in their latest release.

DepthDependent versions
Direct
546
2 hops
3,594
3 hops
1,498
4 hops
304
5 hops
107
6 hops
11

Most used dependents

Computed from the dependency graph of build 20261201.0702 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.