CVE-2024-22234
published high CVSS 3.1 · 7.4CVE-2024-22234: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Security6.1.x to < 6.1.7 · 6.2.x to < 6.2.2 · Other versions: unaffected | Affected | Not stated | vmware |
| vmware | — | spring_security6.1.0 to < 6.1.7 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
| vmware | — | spring_security6.2.0 to < 6.2.2 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
Description
In Spring Security, versions 6.1.x prior to 6.1.7 and versions 6.2.x prior to 6.2.2, an application is vulnerable to broken access control when it directly uses the AuthenticationTrustResolver.isFullyAuthenticated(Authentication) method. Specifically, an application is vulnerable if: * The application uses AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly and a null authentication parameter is passed to it resulting in an erroneous true return value. An application is not vulnerable if any of the following is true: * The application does not use AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly. * The application does not pass null to AuthenticationTrustResolver.isFullyAuthenticated * The application only uses isFullyAuthenticated via Method Security https://docs.spring.io/spring-security/reference/servlet/authorization/method-security.html or HTTP Request Security https://docs.spring.io/spring-security/reference/servlet/authorization/authorize-http-requests.html
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Security | 6.1.x to < 6.1.7 (affected · 6.1.7)6.2.x to < 6.2.2 (affected · 6.2.2)Default: unaffected | vmware · cna |
| vmware | spring_security | 6.1.0 to < 6.1.7 (affected · custom)Default: unaffected | CISA-ADP · adp |
| vmware | spring_security | 6.2.0 to < 6.2.2 (affected · custom)Default: unaffected | CISA-ADP · adp |
Weaknesses
1- CWE-284 CWE-284 Improper Access Control
References
2Provider assertions
3vmware · cna
CVE-2024-22234: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3dfbd971c42c89c747d263304c2f05248bfb67e885b817369f4175c19c0bee72
- Ingested
- 23 Sep 2026, 08:19:14 UTC
- Source record
- Official CVE record