CVE-2024-22257
HIGH 8.2CVSS 3.1Erroneous authentication pass in Spring Security
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.
- Published
- 18 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@vmware.com
- NVD status
- Deferred
- Weakness
- CWE-287CWE-862
- Also known as
- GHSA-f3jh-qvm4-mg39
- Sources
- NVDJSONOSV GHSA-f3jh-qvm4-mg39JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.springframework.security:spring-security-core | < 5.7.12 | 5.7.12 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.8.0, < 5.8.11 | 5.8.11 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 6.0.0, < 6.1.8 | 6.1.8 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 6.2.0, < 6.2.3 | 6.2.3 |
References
- https://security.netapp.com/advisory/ntap-20240419-0005/ · WEB
- https://spring.io/security/cve-2024-22257 · WEB
- https://github.com/dependency-check/DependencyCheck/issues/8642
- https://nvd.nist.gov/vuln/detail/CVE-2024-22257 · ADVISORY
- https://github.com/spring-projects/spring-security/commit/5a7f12f1a9fdb4edaab6f61495f1d781a7273b61 · WEB
- https://github.com/spring-projects/spring-security · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 18 Mar 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Mar 2024)