WaratekVRT Sign in

CVE-2023-34042 Spring Security

Affected softwareSpring Security
Severity5.5 Medium CVSS 3.1 2 scores
Fixed in6.1.4, 6.0.7, 5.8.7, 5.7.11
WeaknessIncorrect permission assignment (CWE-732)
Published5 Feb 2024
Updated13 Nov 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.24% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A researcher's recorded decision for this specific CVE
Finding A researcher found this CVE protected by the ARMR Filesystem.

Waratek research note

written 2026-11-13

Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.

Comments

Rule Name: Filesystem

How to mitigate CVE-2023-34042

Upgrade Spring Security to a release that fixes it: 6.1.4, 6.0.7, 5.8.7 or 5.7.11. Until you can, Waratek RASP blocks exploitation with its filesystem rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.5 MEDIUM v3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
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 NVD Primary published
CVSS 3.1 4.1 MEDIUM CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N security@vmware.com Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.security:spring-security-config 6.1.1 6.1.4 unbounded
org.springframework.security:spring-security-config 6.0.4 6.0.7 unbounded
org.springframework.security:spring-security-config 5.8.4 5.8.7 unbounded
org.springframework.security:spring-security-config 5.7.9 5.7.11 unbounded

Products and versions

2 products, 9 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework.security spring-security-config generic ≥ 5.7.9 and < 5.7.11 · ≥ 5.8.4 and < 5.8.7 · ≥ 6.0.4 and < 6.0.7 · ≥ 6.1.1 and < 6.1.4
nvd vmware spring security generic 5.7.9 · 5.7.10 · ≥ 5.8.4 and < 5.8.7 · ≥ 6.0.4 and < 6.0.7 · ≥ 6.1.1 and < 6.1.4

References

URLTags
https://github.com/spring-projects/spring-security/commit/5b293d21161e946bf241d9e974b9af93cfafaaac WEB
https://github.com/spring-projects/spring-security PACKAGE
https://security.netapp.com/advisory/ntap-20241129-0010 WEB
https://spring.io/security/cve-2023-34042 WEB
https://security.netapp.com/advisory/ntap-20241129-0010/

Timeline

Published2024-02-05By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.
Classification created2026-11-13First commit adding this CVE's research note.
Last VRT activity2026-11-13Most recent commit touching this CVE's classification, patch or rule file.