Vulnerability · Published Oct 12, 2022 · Assigned by apache
CVE-2022-40664Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher
Critical 9.8
In plain English
A critical-severity improper authentication in Apache Shiro from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.6% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)3.6%top 10.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Apache Shiro before 1.10.0, Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | shiro | no fix listed | DEBIAN-CVE-2022-40664 |
| Debian:13 | shiro | no fix listed | DEBIAN-CVE-2022-40664 |
| Debian:14 | shiro | no fix listed | DEBIAN-CVE-2022-40664 |
| Maven | org.apache.shiro:shiro-core | 1.10.0 | GHSA-45x9-q6vj-cqgq |
| Ubuntu:22.04:LTS | shiro | no fix listed | UBUNTU-CVE-2022-40664 |
| Ubuntu:25.10 | shiro | no fix listed | UBUNTU-CVE-2022-40664 |
| Ubuntu:26.04:LTS | shiro | no fix listed | UBUNTU-CVE-2022-40664 |
| Ubuntu:26.10 | shiro | no fix listed | UBUNTU-CVE-2022-40664 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Shiro | Apache Shiro – before 1.10.0 |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://lists.apache.org/thread/loc2ktxng32xpy7lfwxto13k4lvnhjwg
- [oss-security] 20221011 CVE-2022-40664: Apache Shiro: Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher mailing-list
- [oss-security] 20221012 Re: CVE-2022-40664: Apache Shiro: Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher mailing-list
- [oss-security] 20221012 Re: CVE-2022-40664: Apache Shiro: Authentication Bypass Vulnerability in Shiro when forwarding or including via RequestDispatcher mailing-list
- https://security.netapp.com/advisory/ntap-20221118-0005/