cve.bz

CVE-2024-22257 Missing Authorization

8.2 highEPSS 1.0%Fix available

High (8.2). EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-core 5.7.12, 5.8.11, 6.1.8.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-11-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-862 Missing Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.springframework.security:spring-security-core (Maven): fixed in 5.7.12, 5.8.11, 6.1.8, 6.2.3

Ask an AI about this CVE

Show the promptExplain CVE-2024-22257 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-22257?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-22257?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-22257 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f3jh-qvm4-mg39Mavenorg.springframework.security:spring-security-core<5.7.125.7.12
GHSA-f3jh-qvm4-mg39Mavenorg.springframework.security:spring-security-core>=5.8.0 <5.8.115.8.11
GHSA-f3jh-qvm4-mg39Mavenorg.springframework.security:spring-security-core>=6.0.0 <6.1.86.1.8
GHSA-f3jh-qvm4-mg39Mavenorg.springframework.security:spring-security-core>=6.2.0 <6.2.36.2.3

Red Hat

Red Hat rates this Important.

Red Hat's statement

The AuthenticatedVoter class was deprecated since Spring Security 5.8 is used in favor of the AuthorizationManager class, which is not vulnerable to this issue.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 3.20.6 for Spring BootFixed 2024-06-06RHSA-2024:3708
Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2Fixed 2024-07-25RHSA-2024:4884
Red Hat Fuse 7.13.0Fixed 2024-05-23RHSA-2024:3354
A-MQ Clients 2spring-securityNot affected
OpenShift Developer Tools and ServicesjenkinsWill not fix
Red Hat build of Apache Camel for Spring Boot 3spring-securityAffected
Red Hat build of Apache Camel for Spring Boot 4spring-securityAffected
Red Hat build of Apache Camel - HawtIO 4spring-securityWill not fix
Red Hat Build of Keycloakspring-securityNot affected
Red Hat Data Grid 8spring-securityNot affected
Red Hat Fuse 7spring-securityAffected
Red Hat Integration Camel K 1spring-securityNot affected
Red Hat JBoss Data Grid 7spring-securityNot affected
Red Hat OpenShift Container Platform 3.11jenkinsAffected
Red Hat OpenShift Dev Spacesdevspaces/pluginregistry-rhel8Affected
Red Hat Process Automation 7spring-securityWill not fix
Red Hat Single Sign-On 7spring-securityNot affected
streams for Apache Kafkaspring-securityNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-22257.

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON