HighGHSA-gv9v-c375-hvmgCVE-2014-0097
Improper Authentication in Spring Security
Published 13 May 2022 · Updated 8 Nov 2023
Is your project on an affected org.springframework.security:spring-security-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=3.2.0 <3.2.2.RELEASE
- Fixed in
- 3.2.2.RELEASE
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-core -DdepVersion=3.2.2.RELEASE -DforceVersion=true- Affected
- >=3.1.0 <3.1.5.RELEASE
- Fixed in
- 3.1.5.RELEASE
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-core -DdepVersion=3.1.5.RELEASE -DforceVersion=trueDetails
The ActiveDirectoryLdapAuthenticator in Spring Security 3.2.0 to 3.2.1 and 3.1.0 to 3.1.5 does not check the password length. If the directory allows anonymous binds then it may incorrectly authenticate a user who supplies an empty password.
Is GHSA-gv9v-c375-hvmg in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework.security:spring-security-core, and gives you the command that fixes it.
More advisories for org.springframework.security:spring-security-core
- LowCVE-2026-22746Spring Security Vulnerable to User Attribute Enumeration when Using DaoAuthenticationProvider · 22 Apr 2026
- MediumCVE-2026-22751Spring Security Core has a TOCTOU race condition when One-Time Token login with JdbcOneTimeTokenService is configured · 21 Apr 2026
- MediumCVE-2025-22234Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide · 22 Jan 2026
- HighCVE-2025-41248Spring Security annotation detection mechanism has authorization bypass · 16 Sept 2025
- CriticalCVE-2025-41232Spring Security authorization bypass for method security annotations on private methods · 21 May 2025
- MediumCVE-2025-22223Spring Security Vulnerable to Authorization Bypass via Security Annotations · 24 Mar 2025
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2014-0097
- Linkgithub.com/spring-projects/spring-security/commit/7dbb8e777ece8675f3333a1ef1cb4d6b9be80395
- Linkgithub.com/spring-projects/spring-security/commit/88559882e967085c47a7e1dcbc4dc32c2c796868
- Linkgithub.com/spring-projects/spring-security/commit/a7005bd74241ac8e2e7b38ae31bc4b0f641ef973
- Linkjira.springsource.org/browse/SEC-2500
- Linkpivotal.io/security/cve-2014-0097
- Linkwww.oracle.com/security-alerts/cpuapr2022.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.