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?
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=trueDetails
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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2020-17510
- Linkgithub.com/apache/shiro/commit/dc194fc977ab6cfbf3c1ecb085e2bac5db14af6d
- Packagegithub.com/apache/shiro
- Linklists.apache.org/thread.html/r575301804bfac87a064359cf4b4ae9d514f2d10db7d44120765f4129@%3Cdev.shiro.apache.org%3E
- Linklists.apache.org/thread.html/r70098e336d02047ce4d4e69293fe8d558cd68cde06f6430398959bc4@%3Cdev.shiro.apache.org%3E
- Linklists.apache.org/thread.html/r70b907ccb306e9391145e2b10f56cc6914a245f91720a17a486c020a@%3Cdev.shiro.apache.org%3E
- Linklists.apache.org/thread.html/r852971e28f54cafa7d325bd7033115c67d613b112a2a1076817390ac@%3Cdev.shiro.apache.org%3E
- Linklists.apache.org/thread.html/r95bdf3703858b5f958b5e190d747421771b430d97095880db91980d6@%3Cannounce.apache.org%3E
- Linklists.apache.org/thread.html/r9d93dfb5df016b1a71a808486bc8f9fbafebbdbc8533625f91253f1d@%3Cdev.shiro.apache.org%3E
- Linklists.apache.org/thread.html/rb47d88af224e396ee34ffb88ee99fb6d04510de5722cf14b7137e6bc@%3Cdev.shiro.apache.org%3E
- Linklists.apache.org/thread.html/rc2cff2538b683d480426393eecf1ce8dd80e052fbef49303b4f47171%40%3Cdev.shiro.apache.org%3E
- Linklists.apache.org/thread.html/re25b8317b00a50272a7252c4552cf1a81a97984cc2111ef7728e48e0@%3Cdev.shiro.apache.org%3E
- Linklists.debian.org/debian-lts-announce/2021/08/msg00002.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.