Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:maven/org.springframework.security/spring-security-config@6.0.4
purl pkg:maven/org.springframework.security/spring-security-config@6.0.4
Next non-vulnerable version 6.0.5
Latest non-vulnerable version 6.1.4
Risk 4.5
Vulnerabilities affecting this package (3)
Vulnerability Summary Fixed by
VCID-7ceg-a9bh-fkau
Aliases:
CVE-2023-34035
GHSA-4vpr-xfrp-cj64
Incorrect Authorization Spring Security versions 5.8 prior to 5.8.5, 6.0 prior to 6.0.5, and 6.1 prior to 6.1.2 could be susceptible to authorization rule misconfiguration if the application uses requestMatchers(String) and multiple servlets, one of them being Spring MVC’s DispatcherServlet. (DispatcherServlet is a Spring MVC component that maps HTTP endpoints to methods on @Controller-annotated classes.) Specifically, an application is vulnerable when all of the following are true: * Spring MVC is on the classpath * Spring Security is securing more than one servlet in a single application (one of them being Spring MVC’s DispatcherServlet) * The application uses requestMatchers(String) to refer to endpoints that are not Spring MVC endpoints An application is not vulnerable if any of the following is true: * The application does not have Spring MVC on the classpath * The application secures no servlets other than Spring MVC’s DispatcherServlet * The application uses requestMatchers(String) only for Spring MVC endpoints
6.0.5
Affected by 0 other vulnerabilities.
6.1.2
Affected by 0 other vulnerabilities.
VCID-8dx4-u4aa-xuet
Aliases:
CVE-2023-34034
GHSA-3h6f-g5f3-gc4w
Improper Handling of Inconsistent Structural Elements Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.
6.0.5
Affected by 0 other vulnerabilities.
6.1.2
Affected by 0 other vulnerabilities.
VCID-sguk-f634-sfgs
Aliases:
CVE-2023-34042
GHSA-9gp8-6cg8-7h34
Spring Security's spring-security.xsd file is world writable 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.
6.0.7
Affected by 0 other vulnerabilities.
6.1.4
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T22:34:18.391575+00:00 GitLab Importer Affected by VCID-8dx4-u4aa-xuet https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-config/CVE-2023-34034.yml 38.4.0
2026-04-16T22:34:11.726141+00:00 GitLab Importer Affected by VCID-7ceg-a9bh-fkau https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-config/CVE-2023-34035.yml 38.4.0
2026-04-11T23:53:21.762939+00:00 GitLab Importer Affected by VCID-8dx4-u4aa-xuet https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-config/CVE-2023-34034.yml 38.3.0
2026-04-11T23:53:14.403862+00:00 GitLab Importer Affected by VCID-7ceg-a9bh-fkau https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-config/CVE-2023-34035.yml 38.3.0
2026-04-02T23:56:27.218422+00:00 GitLab Importer Affected by VCID-8dx4-u4aa-xuet https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-config/CVE-2023-34034.yml 38.1.0
2026-04-02T23:56:20.642487+00:00 GitLab Importer Affected by VCID-7ceg-a9bh-fkau https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.springframework.security/spring-security-config/CVE-2023-34035.yml 38.1.0
2026-04-01T16:04:27.946233+00:00 GHSA Importer Affected by VCID-sguk-f634-sfgs https://github.com/advisories/GHSA-9gp8-6cg8-7h34 38.0.0