CVE-2021-41303 Apache Shiro vulnerable to a specially crafted HTTP request causing an authentication bypass

Critical 9.8 Published Updated

Attackers can bypass authentication in applications using Apache Shiro with Spring Boot via crafted HTTP requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-41303?

CVE-2021-41303 is a critical authentication bypass vulnerability in Apache Shiro, published on 17 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-287

Which versions are affected by CVE-2021-41303?

2 open source packages ship an affected version, including org.apache.shiro:shiro-core. It affects 2 products.

PackageAffectedFixed in
org.apache.shiro:shiro-core MavenAll versions1.8.0
org.apache.shiro:shiro-core MavenAll versions1.8.0

Products include Apache Shiro, Oracle Financial Services Crime and Compliance Management Studio.

How do I fix CVE-2021-41303?

Upgrade org.apache.shiro:shiro-core to 1.8.0 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2021-41303 being exploited?

There is no known exploitation of CVE-2021-41303 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2021-41303, GHSA-f6jp-j6w3-w9hm.

Is CVE-2021-41303 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free