CVE-2024-22234: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-22234
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 17:13 UTC · Revision 1
Source evidence
CVE-2024-22234: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated
core-osv · Original sourcePublished 20 Feb 2024, 07:02 UTC
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
osv:CVE-2024-22234
Complete source record
{
"id": "dd57d8f32f943f2a96c0b003b50abd730e8d3fc0d58c5a5f86e8975379e622d0",
"url": "https://osv.dev/vulnerability/CVE-2024-22234",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-22234: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated",
"summary": "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",
"evidence": "osv:CVE-2024-22234",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-22234",
"aliases": [
"CVE-2024-22234",
"GHSA-w3w6-26f2-p474"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-projects/spring-security",
"type": "GIT",
"events": [
{
"introduced": "ad2b1d40b881850de5d3a2a3b5e5d1a56a0d2b4c"
},
{
"fixed": "dd5bfc0b3126a33c574354adf8d71fd4b34175ba"
},
{
"introduced": "fd1b92b7d06af8fbaf71d9cdd54e219ac247ef51"
},
{
"fixed": "2cc6cbdb77d761cdfc7d792bb2d772c2b9186e93"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.2.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"6.2.1",
"6.1.6",
"6.2.0",
"6.2.0-RC2",
"6.2.0-RC1",
"6.2.0-M2",
"6.2.0-M1",
"6.1.1",
"6.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-22234.json"
}
}
],
"modified": "2026-10-28T02:30:51.176898030Z",
"provider": "osv",
"references": [
"https://spring.io/security/cve-2024-22234",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22234.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-22234",
"https://security.netapp.com/advisory/ntap-20240315-0003/"
],
"provider_metadata": {
"cna_assigner": "vmware",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "6.1.x"
},
{
"fixed": "6.1.7"
},
{
"introduced": "6.2.x"
},
{
"fixed": "6.2.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22234.json"
}
},
"related_cves": [
{
"value": "CVE-2024-22234",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519958,
"published_at": "2024-02-20T07:02:50.873+00:00"
}