Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-46749 EUVD-2024-0376GHSA-jc7h-c423-mpjc

Apache Shiro before 1.13.0 or 2.0.0-alpha-4, may be susceptible to a path traversal attack that results in an authentication bypass when used together with path rewriting

Published Jan 15, 2024 · Updated Nov 3, 2025 · Assigned by apache

Description

Apache Shiro before 1.13.0 or 2.0.0-alpha-4, may be susceptible to a path traversal attack that results in an authentication bypass when used together with path rewriting

Mitigation: Update to Apache Shiro 1.13.0+ or 2.0.0-alpha-4+, or ensure `blockSemicolon` is enabled (this is the default).

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Shiro < 1.13.0, 2.0.0-alpha-1 – < 2.0.0-alpha-4 1.13.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 shiro 1.3.2-5 —
Debian 13 shiro 1.3.2-5 —
Debian 12 shiro 1.3.2-5 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS shiro No fix yet —
Ubuntu 20.04 LTS shiro No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS shiro 1.3.2-5ubuntu0.24.04.1~esm1 USN-7147-1
Ubuntu Pro 18.04 LTS shiro No fix yet —
Ubuntu Pro 16.04 LTS shiro 1.2.4-1ubuntu0.1~esm2 USN-7147-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.shiro:shiro-core < 1.13.0 1.13.0 GHSA-jc7h-c423-mpjc
Maven org.apache.shiro:shiro-core >= 2.0.0alpha1, < 2.0.0-alpha4 2.0.0-alpha4 GHSA-jc7h-c423-mpjc

Advisories 1

References