CVE-2023-34042:
Spring Security's spring-security.xsd file is world writable
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.12453%
CWE
Published
2/6/2024
Updated
11/29/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.springframework.security:spring-security-config | maven | >= 6.1.1, <= 6.1.3 | 6.1.4 |
org.springframework.security:spring-security-config | maven | >= 6.0.4, <= 6.0.6 | 6.0.7 |
org.springframework.security:spring-security-config | maven | >= 5.8.4, <= 5.8.6 | 5.8.7 |
org.springframework.security:spring-security-config | maven | >= 5.7.9, <= 5.7.10 | 5.7.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper file permissions on the spring-security.xsd
file in the JAR, not from specific code functions. The root cause was a build process issue where the file was included with world-writable permissions. The commit diff shows the fix involved automating XSD generation and removing manual symlink handling, which addressed the permission issue. No specific code functions (e.g., business logic methods) are directly vulnerable; the problem was in build configuration and packaging steps. Thus, no traditional 'functions' in the codebase can be identified as vulnerable with high confidence.