Is org.springframework.security:spring-security-core 5.4 vulnerable?

Maven · 12 releases from 5.4.0 to 5.4.11 · latest org.springframework.security:spring-security-core is 7.1.2 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. org.springframework.security:spring-security-core 5.4.11, the last 5.4 release, is affected by 3 known security advisories (1 high, 2 medium), including CVE-2024-22257, CVE-2024-38827, CVE-2022-22976. 2 more affect earlier 5.4.x releases. Upgrade to 5.7.14 or later to fix all of them.

Upgrade with:mvn versions:use-dep-version -Dincludes=org.springframework.security:spring-security-core -DdepVersion=5.7.14 -DforceVersion=true

Is your project on an affected org.springframework.security:spring-security-core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting org.springframework.security:spring-security-core 5.4.11

  • MediumCVE-2024-38827GHSA-q3v6-hm2v-pw992 Dec 2024

    Spring Framework has Authorization Bypass for Case Sensitive Comparisons

    Affected
    <5.7.14 · >=5.8.0 <5.8.16 · >=6.0.0 <6.0.14 · >=6.1.0 <6.1.12 · >=6.2.0 <6.2.8 · >=6.3.0 <6.3.5
    Fixed in
    5.7.14, 5.8.16, 6.0.14, 6.1.12, 6.2.8, 6.3.5
  • HighCVE-2024-22257GHSA-f3jh-qvm4-mg3918 Mar 2024

    Erroneous authentication pass in Spring Security

    Affected
    <5.7.12 · >=5.8.0 <5.8.11 · >=6.0.0 <6.1.8 · >=6.2.0 <6.2.3
    Fixed in
    5.7.12, 5.8.11, 6.1.8, 6.2.3
  • MediumCVE-2022-22976GHSA-wx54-3278-m5g420 May 2022

    Integer overflow in BCrypt class in Spring Security

    Affected
    >=5.2.0.RELEASE <5.5.7 · >=5.6.0 <5.6.4
    Fixed in
    5.5.7, 5.6.4

Fixed within 5.4.x, affecting earlier releases

  • CriticalCVE-2022-22978GHSA-hh32-7344-cg2f20 May 2022

    Authorization bypass in Spring Security

    Affected
    >=5.5.0 <5.5.7 · >=5.6.0 <5.6.4 · <5.4.11
    Fixed in
    5.4.11, 5.5.7, 5.6.4
  • HighCVE-2021-22119GHSA-w9jg-gvgr-354m2 Jul 2021

    Resource Exhaustion in Spring Security

    Affected
    >=5.5.0 <5.5.1 · >=5.4.0 <5.4.7 · >=5.3.0 <5.3.10 · >=5.2.0 <5.2.11
    Fixed in
    5.2.11, 5.3.10, 5.4.7, 5.5.1

Every org.springframework.security:spring-security-core 5.4.x release

Affected: 5.4.0 to 5.4.11. Latest org.springframework.security:spring-security-core: 7.1.2.

VersionKnown advisories
org.springframework.security:spring-security-core 5.4.11CVE-2024-38827, CVE-2024-22257, CVE-2022-22976
org.springframework.security:spring-security-core 5.4.10CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976
org.springframework.security:spring-security-core 5.4.9CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976
org.springframework.security:spring-security-core 5.4.8CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976
org.springframework.security:spring-security-core 5.4.7CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976
org.springframework.security:spring-security-core 5.4.6CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976, CVE-2021-22119
org.springframework.security:spring-security-core 5.4.5CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976, CVE-2021-22119
org.springframework.security:spring-security-core 5.4.4CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976, CVE-2021-22119
org.springframework.security:spring-security-core 5.4.3CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976, CVE-2021-22119
org.springframework.security:spring-security-core 5.4.2CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976, CVE-2021-22119
org.springframework.security:spring-security-core 5.4.1CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976, CVE-2021-22119
org.springframework.security:spring-security-core 5.4.0CVE-2024-38827, CVE-2024-22257, CVE-2022-22978, CVE-2022-22976, CVE-2021-22119

Which of your client projects are still on org.springframework.security:spring-security-core 5.4?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact org.springframework.security:spring-security-core version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other org.springframework.security:spring-security-core versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.