Skip to main content
EPSS 1.0%top 41%

CVE-2024-22257: Possible Broken Access Control in Spring Security With Direct Use of AuthenticatedVoter in Spring Security

0
High
VulnerabilityCVE-2024-22257cvecve-2024-22257
Published: 03/18/2024 (03/18/2024, 14:18:52 UTC)
Source: CVE Database V5
Product: Spring Security

Description

In Spring Security, versions 5.7.x prior to 5.7.12, 5.8.x prior to 5.8.11, versions 6.0.x prior to 6.0.9, versions 6.1.x prior to 6.1.8, versions 6.2.x prior to 6.2.3, an application is possible vulnerable to broken access control when it directly uses the AuthenticatedVoter#vote passing a null Authentication parameter.

CVSS v3.1

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Affected software

org.springframework.security/spring-security-core
pkg:maven/org.springframework.security/spring-security-core
Affected versions
<5.7.12<5.8.11<6.0.9<6.1.8<6.2.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/30/2026, 13:36:16 UTC

Technical Analysis

Spring Security versions before 5.7.12, 5.8.11, 6.0.9, 6.1.8, and 6.2.3 are vulnerable to broken access control if an application directly invokes the AuthenticatedVoter#vote method passing a null Authentication parameter. This improper use can bypass intended access control restrictions, potentially allowing unauthorized users to gain access to protected resources. The vulnerability is tracked as CWE-862 (Missing Authorization).

Potential Impact

Successful exploitation can result in unauthorized access to protected resources, compromising confidentiality (high impact on confidentiality), with limited impact on integrity and no impact on availability. The CVSS v3.1 score is 8.2, indicating a high severity vulnerability exploitable remotely without privileges or user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid directly using AuthenticatedVoter#vote with a null Authentication parameter in application code to prevent broken access control.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2024-01-08T18:43:15.942Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a43c34a27e9c79719d5be2f

Added to database: 06/30/2026, 13:23:22 UTC

Last enriched: 06/30/2026, 13:36:16 UTC

Last updated: 09/10/2026, 19:36:47 UTC

Views: 100

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses