GHSA-hh3m-g4qj-4835

Suggest an improvement
Source
https://github.com/advisories/GHSA-hh3m-g4qj-4835
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-hh3m-g4qj-4835/GHSA-hh3m-g4qj-4835.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hh3m-g4qj-4835
Aliases
  • CVE-2025-22223
Related
Published
2025-03-24T18:31:03Z
Modified
2025-03-24T21:37:04.006700Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Spring Security Vulnerable to Authorization Bypass via Security Annotations
Details

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

Database specific
{
    "nvd_published_at": "2025-03-24T18:15:22Z",
    "cwe_ids": [
        "CWE-290"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-24T21:20:53Z"
}
References

Affected packages

Maven / org.springframework.security:spring-security-core

Package

Name
org.springframework.security:spring-security-core
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.security/spring-security-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.4.4

Affected versions

6.*

6.4.0
6.4.1
6.4.2
6.4.3