CVE-2024-22234

CVE-2024-22234: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated

HIGH
7.4
CVSS Score
Published: February 20, 2024 at 07:02 AM UTC
Updated: June 17, 2026 at 07:10 AM UTC
2 products affected across 2 vendorsSpring SecuritySpring Security

Using Spring Security by Spring?

Get instant alerts when new vulnerabilities affect Spring Security - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.4
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.1.0 ≤ v < 6.1.76.2.0 ≤ v < 6.2.26.1.06.2.0
Affected range stops below 6.1.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.2.2, so it looks safe — our inference, not a vendor statement
6.1.x ≤ v < 6.1.76.2.x ≤ v < 6.2.26.1.x6.2.x
Affected range stops below 6.1.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.2.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.4HIGHvmware
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-284

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card