{"id":"CVE-2024-22234","published":"2024-02-20T07:02:50Z","modified":"2025-02-13T17:33:37Z","title":"CVE-2024-22234: Broken Access Control in Spring Security With Direct Use of isFullyAuthenticated","vendor":"Spring","product":"Spring Security","tier":"tail","description":{"text":"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.\n\nSpecifically, an application is vulnerable if:\n\n  *  The application uses AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly and a null authentication parameter is passed to it resulting in an erroneous true return value.\n\n\nAn application is not vulnerable if any of the following is true:\n\n  *  The application does not use AuthenticationTrustResolver.isFullyAuthenticated(Authentication) directly.\n  *  The application does not pass null to AuthenticationTrustResolver.isFullyAuthenticated\n  *  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","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00845,"percentile":0.5535,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://spring.io/security/cve-2024-22234","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240315-0003/","tags":[]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":11.07},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Security","versions":[">= 6.1.x, < 6.1.7",">= 6.2.x, < 6.2.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-02-21T19:46:52.509563Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","vulnerableRanges":[">=6.1.0, <6.1.7",">=6.2.0, <6.2.2"],"patched":["6.1.7","6.2.2"],"from":["GHSA-w3w6-26f2-p474"],"provenance":"source"}],"summary":{"text":"Spring Security, versions 6.1.x prior to 6.1.7 and 6.2.x prior to 6.2.2, contains a broken access control flaw in applications that directly call AuthenticationTrustResolver.isFullyAuthenticated(Authentication) with a null authentication parameter, which erroneously returns true. An attacker with network access and no authentication or user interaction could exploit this when the application passes null to that method, and the flaw does not affect applications that use isFullyAuthenticated only through method security or HTTP request security.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:05Z"},"euvd":{"id":"EUVD-2024-0745","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-22978","published":"2022-05-19","fixed":"5.6.4","kev":false},{"cve":"CVE-2022-31692","published":"2022-10-31","fixed":"5.7.5","kev":false},{"cve":"CVE-2023-20862","published":"2023-04-19","fixed":"6.0.3","kev":false},{"cve":"CVE-2024-22234","published":"2024-02-20","fixed":"6.2.2","kev":false},{"cve":"CVE-2024-22257","published":"2024-03-18","fixed":"6.2.3","kev":false,"link":{"from":"CVE-2024-22234","to":"CVE-2024-22257","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"6.1.7","toFixed":"6.1.8","daysApart":27}]}},{"cve":"CVE-2024-38810","published":"2024-08-20","fixed":"6.3.2","kev":false},{"cve":"CVE-2024-38827","published":"2024-12-02","fixed":"6.3.5","kev":false}],"package":"Maven:org.springframework.security:spring-security-core"}}