{"id":"CVE-2024-22257","published":"2024-03-18T14:18:52Z","modified":"2026-06-30T13:13:48Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"In Spring Security, versions 5.7.x prior to 5.7.12, 5.8.x prior to \n5.8.11, versions 6.0.x prior to 6.0.9, versions 6.1.x prior to 6.1.8, \nversions 6.2.x prior to 6.2.3, an application is possible vulnerable to \nbroken access control when it directly uses the AuthenticatedVoter#vote passing a null Authentication parameter.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0096,"percentile":0.60107,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://spring.io/security/cve-2024-22257","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240419-0005/","tags":[]},{"url":"https://github.com/dependency-check/DependencyCheck/issues/8642","tags":[]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":12.02},{"name":"CVSS severity","points":5.74}]},"affectedVersions":[{"vendor":"N/A","product":"Spring Security","versions":["6.2.0 to 6.2.2, 6.1.0 to 6.1.7, 6.0.0 to 6.0.9, 5.8.0 to 5.8.10, 5.7.0 to 5.7.11"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-11-12T15:22:14.458591Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","vulnerableRanges":["<5.7.12",">=5.8.0, <5.8.11",">=6.0.0, <6.1.8",">=6.2.0, <6.2.3"],"patched":["5.7.12","5.8.11","6.1.8","6.2.3"],"from":["GHSA-f3jh-qvm4-mg39"],"provenance":"source"}],"summary":{"text":"The flaw is a broken access control issue in Spring Security, affecting the 5.7.x, 5.8.x, 6.0.x, 6.1.x and 6.2.x release lines before their respective fixed versions, and it arises when an application directly calls AuthenticatedVoter#vote with a null Authentication parameter. An attacker who can reach the affected application over the network, without authentication or user interaction, could potentially bypass authorization checks, but only in applications that directly invoke that method in this way.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:57Z"},"euvd":{"id":"EUVD-2024-0908","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"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,"link":{"from":"CVE-2023-20862","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":"5.7.8","toFixed":"5.7.12","daysApart":334}]}},{"cve":"CVE-2024-22234","published":"2024-02-20","fixed":"6.2.2","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-22257","published":"2024-03-18","fixed":"6.2.3","kev":false},{"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,"link":{"from":"CVE-2024-22257","to":"CVE-2024-38827","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"5.7.12","toFixed":"5.7.14","daysApart":259},{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"6.1.8","toFixed":"6.1.12","daysApart":259}]}},{"cve":"CVE-2025-22223","published":"2025-03-24","fixed":"6.4.4","kev":false}],"package":"Maven:org.springframework.security:spring-security-core"}}