CriticalGHSA-7cj4-gj8m-m2f7CVE-2020-17510

Authentication bypass in Apache Shiro

Published 22 Apr 2021 · Updated 8 Nov 2023

Is your project on an affected org.apache.shiro:shiro-spring?

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

Affected package

Affected
<1.7.0
Fixed in
1.7.0
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.shiro:shiro-spring -DdepVersion=1.7.0 -DforceVersion=true

Details

Apache Shiro before 1.7.0, when using Apache Shiro with Spring, a specially crafted HTTP request may cause an authentication bypass.

Is GHSA-7cj4-gj8m-m2f7 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.apache.shiro:shiro-spring, and gives you the command that fixes it.

More advisories for org.apache.shiro:shiro-spring

  • MediumCVE-2026-23903Apache Shiro has an Authentication Bypass · 9 Feb 2026
  • CriticalCVE-2020-17523Authentication bypass in Apache Shiro · 9 Feb 2022
org.apache.shiro:shiro-spring security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.