Patchfirst
CVE-2023-34478 Critical · 9.8 EPSS 2.1%

Apache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with…

Apache Software Foundation · Apache Shiro

Official description · CVE.org

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+

Breakdown
58.1 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 2 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+2 days

See the family tree

3 related vulnerabilities in the same code over 3 years. The latest fix listed for shiro-web is 3.0.0-alpha-2.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2020-17510Shiro before 1.7.0, when using Apache Shiro with Spring, a…5 Nov 2020
  2. relatedMedium

    Why these are linked:

    This CVECVE-2023-34478Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a…24 Jul 2023
  3. relatedHigh

    Why these are linked:

    • Fixed one release later2.0.0-alpha-3 → 2.0.0-alpha-4 (org.apache.shiro:shiro-web)
    • Fixed one release later1.12.0 → 1.13.0 (org.apache.shiro:shiro-web)
    • Same code patched: InvalidRequestFilter.java (machine-matched)Functions: InvalidRequestFilter, containsOnlyPrintableAsciiCharacters, isValidcommit c3ede3fcommit 3b80f5ccommit 8400d08
    CVE-2023-46750Shiro: URL Redirection to Untrusted Site ('Open Redirect')…14 Dec 2023

Fixes in shiro-webMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 1.3.2CVE-2016-680220 Sep 2016
  2. 1.7.1CVE-2020-175233 Feb 2021
  3. 2.0.0-alpha-3CVE-2023-3447824 Jul 2023
  4. 2.0.0-alpha-4CVE-2023-4675014 Dec 2023
  5. 3.0.0-alpha-2CVE-2026-4382825 May 2026Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.apache.shiro:shiro-web.

Mavenorg.apache.shiro:shiro-webGHSA-pmhc-2g4f-85cg

Upgrade to 1.12.0

Fixes this CVE and 1 other known vulnerability in this package (CVE-2020-17523).

Also affected, despite being newer: 2.0.0-alpha-1 up to 2.0.0-alpha-3.

Set the version to 1.12.0 or later in your pom.xml or build.gradle.

The first fix for CVE-2023-34478.

Affected versions, by release line

If you runUpgrade to
2.0.0-alpha-1 up to 2.0.0-alpha-32.0.0-alpha-3
All versions before 1.12.01.12.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close