CVE-2023-34478 json
Apache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with APIs or other web frameworks that route requests based on non-normalized requests.
published 2023-07-24 3 y ago modified 2026-06-17 4 mo ago also GHSA-pmhc-2g4f-85cg , EUVD-2023-2115
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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+
Patch / fix
- maven org.apache.shiro:shiro-web 1.12.0, 2.0.0-alpha-3
- Apache Software Foundation Apache Shiro 1.12.0, 2.0.0-alpha-3
- apache shiro 1.12.0
- shiro Ubuntu Pro 24.04 LTS 1.3.2-5ubuntu0.24.04.1~esm1
ubuntu advisories UBUNTU-CVE-2023-34478
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
2.07% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.shiro:shiro-web | <1.12.0 >=2.0.0-alpha-1, <2.0.0-alpha-3 |
1.12.0 2.0.0-alpha-3 |
Affected products
- Apache Software Foundation Apache Shiro
- apache shiro
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/apache/shiro/commit/c3ede3f94efb442acb0795714a022c2c121d1da0
web
-
lists.apache.org
/thread/mbv26onkgw9o35rldh7vmq11wpv2t2qk
vendor-advisory, web, mailing-list
-
openwall.com
/lists/oss-security/2023/07/24/4
web, mailing-list, third-party-advisory
- security.netapp.com /advisory/ntap-20230915-0005/
-
nvd.nist.gov
/vuln/detail/CVE-2023-34478
advisory
-
github.com
/apache/shiro
package
-
security.netapp.com
/advisory/ntap-20230915-0005
web
Sources
- CVE List CVE-2023-34478
- GitHub Advisory GHSA-pmhc-2g4f-85cg
- NVD CVE-2023-34478
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.