Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.security/spring-security-config
  4. ›
  5. CVE-2023-34042

CVE-2023-34042: Spring Security's spring-security.xsd file is world writable

February 6, 2024 (updated November 29, 2024)

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.

References

  • github.com/advisories/GHSA-9gp8-6cg8-7h34
  • github.com/spring-projects/spring-security
  • github.com/spring-projects/spring-security/commit/5b293d21161e946bf241d9e974b9af93cfafaaac
  • nvd.nist.gov/vuln/detail/CVE-2023-34042
  • security.netapp.com/advisory/ntap-20241129-0010
  • spring.io/security/cve-2023-34042

Code Behaviors & Features

Detect and mitigate CVE-2023-34042 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.7.9 before 5.7.11, all versions starting from 5.8.4 before 5.8.7, all versions starting from 6.0.4 before 6.0.7, all versions starting from 6.1.1 before 6.1.4

Fixed versions

  • 6.1.4
  • 6.0.7
  • 5.8.7
  • 5.7.11

Solution

Upgrade to versions 5.7.11, 5.8.7, 6.0.7, 6.1.4 or above.

Impact 5.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-732: Incorrect Permission Assignment for Critical Resource

Source file

maven/org.springframework.security/spring-security-config/CVE-2023-34042.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.