CVE-2023-34478
CRITICAL 9.8CVSS 3.1Path Traversal in Apache Shiro
Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.
Mitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+
- Published
- 24 Jul 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-pmhc-2g4f-85cg
- Sources
- NVDJSONOSV GHSA-pmhc-2g4f-85cgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | shirocpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* |
< 1.12.0 | 1.12.0 |
| NVD | apache | shirocpe:2.3:a:apache:shiro:2.0.0:alpha1:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | shirocpe:2.3:a:apache:shiro:2.0.0:alpha2:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | Maven | org.apache.shiro:shiro-web | < 1.12.0 | 1.12.0 |
| OSV | Maven | org.apache.shiro:shiro-web | >= 2.0.0-alpha-1, < 2.0.0-alpha-3 | 2.0.0-alpha-3 |
References
- http://www.openwall.com/lists/oss-security/2023/07/24/4 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/mbv26onkgw9o35rldh7vmq11wpv2t2qk · Mailing List, WEB
- https://security.netapp.com/advisory/ntap-20230915-0005/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-34478 · ADVISORY
- https://github.com/apache/shiro/commit/c3ede3f94efb442acb0795714a022c2c121d1da0 · WEB
- https://github.com/apache/shiro · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 24 Jul 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jul 2023)