CVE-2023-34478
Path Traversal in Apache Shiro
Reported by apache · Published July 24, 2023
shiro-web is fixed in 2.0.0-alpha-3 and 1.12.0 (Maven Central)
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+
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.shiro:shiro-web | Maven Central | 2.0.0-alpha-3, 1.12.0 |
| org.apache.shiro:shiro-all | Maven Central | 1.12.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Shiro | 0, 0 |
| Maven | org.apache.shiro:shiro-web | 0, 2.0.0-alpha-1 |
| Maven | org.apache.shiro:shiro-all | 0, 2.0.0 |
| apache | shiro | 0, 2.0.0alpha1, 2.0.0alpha2 |
| Apache Software Foundation | Apache Shiro | 0, 0 |
Timeline
- Jul 24, 2023 CVE Published
- Jul 25, 2023 EPSS Score (30 in total, the first dated here)
- Jul 26, 2023 VulnCheck KEV Exploitation
- Mar 23, 2026 Security Advisory
- Aug 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-34478
vulnetix vdb fixes CVE-2023-34478
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-34478/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- apache__shiro_CVE-2023-34478_1-11-0 exploit
- https://nvd.nist.gov/vuln/detail/CVE-2023-34478 advisory
- https://github.com/advisories/GHSA-pmhc-2g4f-85cg advisory
- https://github.com/apache/shiro/commit/c3ede3f94efb442acb0795714a022c2c121d1da0 patch
- https://github.com/apache/shiro url
- https://security.netapp.com/advisory/ntap-20230915-0005 advisory