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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

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'}


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 : Awaiting Analysis

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

Modified: 2025-03-27T16:45:46.410

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.