CriticalGHSA-4cf5-xmhp-3xj7CVE-2022-32532

Improper Authorization in Apache Shiro

Published 30 Jun 2022 · Updated 8 Nov 2023

Is your project on an affected org.apache.shiro:shiro-core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.9.1
Fixed in
1.9.1
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.shiro:shiro-core -DdepVersion=1.9.1 -DforceVersion=true

Details

Apache Shiro before 1.9.1, A RegexRequestMatcher can be misconfigured to be bypassed on some servlet containers. Applications using RegExPatternMatcher with . in the regular expression are possibly vulnerable to an authorization bypass.

Is GHSA-4cf5-xmhp-3xj7 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.shiro:shiro-core, and gives you the command that fixes it.

More advisories for org.apache.shiro:shiro-core

  • LowCVE-2026-56130Apache Shiro's "remember me" cookie age is not verified on the server. · 25 Jun 2026
  • HighCVE-2026-49268Apache Shiro: LDAP DN Injection in DefaultLdapRealm · 17 Jun 2026
  • MediumCVE-2026-43827Apache Shiro has a session fixation vulnerability · 26 May 2026
  • LowCVE-2026-23901Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability · 10 Feb 2026
  • MediumCVE-2023-46749Apache Shiro vulnerable to path traversal · 15 Jan 2024
  • CriticalCVE-2022-40664Apache Shiro Authentication Bypass vulnerability · 12 Oct 2022
All 13 advisories for org.apache.shiro:shiro-core

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.