Is org.springframework.boot:spring-boot-starter-web 2.1 vulnerable?

Maven · 19 releases from 2.1.0 to 2.1.18 · latest org.springframework.boot:spring-boot-starter-web is 4.1.2 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. org.springframework.boot:spring-boot-starter-web 2.1.18, the last 2.1 release, is affected by 1 known security advisory (1 critical), including CVE-2022-22965. Upgrade to 2.5.12 or later to fix all of them.

Upgrade with:mvn versions:use-dep-version -Dincludes=org.springframework.boot:spring-boot-starter-web -DdepVersion=2.5.12 -DforceVersion=true

Is your project on an affected org.springframework.boot:spring-boot-starter-web?

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.boot:spring-boot-starter-web 2.1.18

  • CriticalCVE-2022-22965GHSA-36p3-wjmg-h94x31 Mar 2022

    Remote Code Execution in Spring Framework

    Affected
    <2.5.12 · >=2.6.0 <2.6.6
    Fixed in
    2.5.12, 2.6.6

Every org.springframework.boot:spring-boot-starter-web 2.1.x release

Affected: 2.1.0 to 2.1.18. Latest org.springframework.boot:spring-boot-starter-web: 4.1.2.

VersionKnown advisories
org.springframework.boot:spring-boot-starter-web 2.1.18CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.17CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.16CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.15CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.14CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.13CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.12CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.11CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.10CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.9CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.8CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.7CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.6CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.5CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.4CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.3CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.2CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.1CVE-2022-22965
org.springframework.boot:spring-boot-starter-web 2.1.0CVE-2022-22965

Which of your client projects are still on org.springframework.boot:spring-boot-starter-web 2.1?

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

Other org.springframework.boot:spring-boot-starter-web 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.