VDB

CVE-2023-34042

CVE-2023-34042 PUBLISHED CVSS 4.1 MEDIUM

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

Reported by vmware · Published February 5, 2024

spring-security-core is fixed in 6.1.4, 6.0.7, 5.8.7 and 1 more (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework.security:spring-security-coreMaven Central6.1.4, 6.0.7, 5.8.7, 5.7.10
org.springframework.security:spring-security-configMaven Central6.1.4, 6.0.7, 5.8.7, 5.7.11
spring_securityvmware6.1.4, 6.0.7, 5.8.7

Risk scores

CVSS 3.1
4.1
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N

Affected products

VendorProductVersions
N/ASpring SecuritySpring Security 6.1.x prior to 6.1.4, Spring Security 6.0.x prior to 6.0.7, Spring Security 5.8.x prior to 5.8.7, Spring Security 5.7.x prior to 5.7.11
Mavenorg.springframework.security:spring-security-core5.7.9, 6.1.1, 6.0.4
N/ASpring SecuritySpring Security 6.1.x prior to 6.1.4, Spring Security 6.0.x prior to 6.0.7, Spring Security 5.8.x prior to 5.8.7, Spring Security 5.7.x prior to 5.7.11
Mavenorg.springframework.security:spring-security-config6.1.1, 5.7.9, 5.8.4

Timeline

  • Sep 18, 2023 CVE Published
  • Feb 6, 2024 PoC Published (2 in total, the first dated here)
  • Feb 8, 2024 EPSS Score (30 in total, the first dated here)
  • Feb 12, 2024 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Aug 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-34042
vulnetix vdb fixes CVE-2023-34042

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-34042/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›