Description
Spring Security 6.4.0 - 6.4.3 may not correctly locate method security annotations on parameterized types or methods. This may cause an authorization bypass. 

You are not affected if you are not using @EnableMethodSecurity, or
you do not have method security annotations on parameterized types or methods, or all method security annotations are attached to target methods
Published: 2025-03-24
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-7998 Spring Security 6.4.0 - 6.4.3 may not correctly locate method security annotations on parameterized types or methods. This may cause an authorization bypass.  You are not affected if you are not using @EnableMethodSecurity, or you do not have method security annotations on parameterized types or methods, or all method security annotations are attached to target methods
Github GHSA Github GHSA GHSA-hh3m-g4qj-4835 Spring Security Vulnerable to Authorization Bypass via Security Annotations
History

Wed, 26 Mar 2025 02:15:00 +0000

Type Values Removed Values Added
Title spring-security: authorization bypass via incorrectly locating method security annotations on parameterized types or methods
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 24 Mar 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 24 Mar 2025 18:00:00 +0000

Type Values Removed Values Added
Description Spring Security 6.4.0 - 6.4.3 may not correctly locate method security annotations on parameterized types or methods. This may cause an authorization bypass.  You are not affected if you are not using @EnableMethodSecurity, or you do not have method security annotations on parameterized types or methods, or all method security annotations are attached to target methods
Weaknesses CWE-290
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2025-03-24T18:06:24.575Z

Reserved: 2025-01-02T04:29:30.445Z

Link: CVE-2025-22223

cve-icon Vulnrichment

Updated: 2025-03-24T18:05:11.228Z

cve-icon NVD

Status : Deferred

Published: 2025-03-24T18:15:22.673

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-22223

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-03-24T17:42:49Z

Links: CVE-2025-22223 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses