GHSA-c4qc-4q9p-m9q9
Apache Shiro Affected by an Observable Timing Discrepancy Vulnerability
Quick fix
GHSA-c4qc-4q9p-m9q9 — org.apache.shiro:shiro-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.1.0</version> for org.apache.shiro:shiro-coreDetails
Observable Timing Discrepancy vulnerability in Apache Shiro.
This issue affects Apache Shiro: from 1.*, 2.* before 2.0.7.
Users are recommended to upgrade to version 2.0.7 or later, which fixes the issue.
Prior to Shiro 2.0.7, code paths for non-existent vs. existing users are different enough, that a brute-force attack may be able to tell, by timing the requests only, determine if the request failed because of a non-existent user vs. wrong password.
The most likely attack vector is a local attack only. Shiro security model https://shiro.apache.org/security-model.html#username_enumeration discusses this as well.
Typically, brute force attack can be mitigated at the infrastructure level.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 2.1.0# pom.xml: bump <version>2.1.0</version> for org.apache.shiro:shiro-core