cve.bz

CVE-2023-34042

5.5 mediumEPSS 0.2%

Medium (5.5) in vmware spring security. EPSS 0.2% chance of exploitation in the next 30 days. Fixed in org.springframework.security:spring-security-config 5.7.11, 5.8.7, 6.0.7.

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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.2% chance of exploitation in the next 30 days; higher than 15% of CVEs (scores of 2026-10-31)
CWE
CWE-732
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9gp8-6cg8-7h34Mavenorg.springframework.security:spring-security-config>=6.1.1 <6.1.46.1.4
GHSA-9gp8-6cg8-7h34Mavenorg.springframework.security:spring-security-config>=6.0.4 <6.0.76.0.7
GHSA-9gp8-6cg8-7h34Mavenorg.springframework.security:spring-security-config>=5.8.4 <5.8.75.8.7
GHSA-9gp8-6cg8-7h34Mavenorg.springframework.security:spring-security-config>=5.7.9 <5.7.115.7.11

References

Check your stackJSON