VYPR
Critical severityNVD Advisory· Published Sep 17, 2021· Updated Aug 4, 2024

Apache Shiro before 1.8.0, when using Apache Shiro with Spring Boot, a specially crafted HTTP request may cause an authentication bypass

CVE-2021-41303

Description

Apache Shiro before 1.8.0, when using Apache Shiro with Spring Boot, a specially crafted HTTP request may cause an authentication bypass. Users should update to Apache Shiro 1.8.0.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Apache Shiro before 1.8.0 with Spring Boot allows authentication bypass via crafted HTTP request.

Vulnerability

Apache Shiro versions prior to 1.8.0, when used with Spring Boot, are vulnerable to an authentication bypass. A specially crafted HTTP request can exploit this flaw, allowing an attacker to bypass security controls. The vulnerability exists in the default configuration when Shiro integrates with Spring Boot's auto-configuration. [1]

Exploitation

An attacker only needs network access to the target application. No prior authentication is required. The attacker crafts a malicious HTTP request that manipulates the authentication process, leading to bypass. The exact request structure is not publicly detailed but leverages Shiro's handling of specially crafted inputs. [1]

Impact

Successful exploitation results in authentication bypass. The attacker can gain unauthorized access to protected resources or perform actions as any user without valid credentials. This compromises the confidentiality, integrity, and availability of the application. [1]

Mitigation

Users should upgrade to Apache Shiro version 1.8.0 or later, which contains the fix. No workarounds are provided in the available references. The fix was released in September 2021. [1]

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.apache.shiro:shiro-coreMaven
< 1.8.01.8.0

Affected products

8

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

8

News mentions

0

No linked articles in our index yet.