Loading...
Skip to main content

CVE-2023-34478 — Path Traversal in org.apache.shiro:shiro-web —...

CRITICAL

Path Traversal in Apache Shiro

Published July 24, 2023Updated February 13, 2025Source: osv

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+

Advisory Timeline

  • First published July 24, 2023 (1176 days ago).
  • Last revised February 13, 2025 — 570 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.shiro:shiro-web to 1.12.0 or later
<!-- Update pom.xml dependency version to 1.12.0 for org.apache.shiro:shiro-web -->
Maven
Update org.apache.shiro:shiro-web to 2.0.0-alpha-3 or later
<!-- Update pom.xml dependency version to 2.0.0-alpha-3 for org.apache.shiro:shiro-web -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.shiro:shiro-web
maven
1.0.0-incubating, 1.1.0, 1.10.0, 1.10.1 (+25 more)1.12.0
org.apache.shiro:shiro-web
maven
2.0.0-alpha-1, 2.0.0-alpha-22.0.0-alpha-3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-34478?
Path Traversal in Apache Shiro This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2023-34478?
CVE-2023-34478 affects org.apache.shiro:shiro-web. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-34478 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-pmhc-2g4f-85cg

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies