CVE-2021-37580 is a critical-severity (CVSS 9.8) Improper Authentication vulnerability in org.apache.shenyu:shenyu-admin. 8 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for org.apache.shenyu:shenyu-admin — see the affected versions and patch details below.
Improper Authentication in Apache ShenYu Admin
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.shenyu:shenyu-adminReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
A flaw was found in Apache ShenYu Admin. The incorrect use of JWT in ShenyuAdminBootstrap allows an attacker to bypass authentication. This issue affected Apache ShenYu 2.3.0 and 2.4.0
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.shenyu:shenyu-admin | ≥ 2.3.0&&< 2.4.1 | 2.4.1org.apache.shenyu:shenyu-admin:2.4.1 |
Affected Products
shenyuapacheResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.shenyu:shenyu-admin, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.shenyu:shenyu-admin to 2.4.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-37580 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
How to detect CVE-2021-37580
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2021-37580 -u https://target- Template
- Apache ShenYu Admin JWT - Authentication Bypass
- Severity
- critical
- Impact
- This vulnerability can lead to unauthorized access to sensitive information, modification of data, and potential compromise of the entire Apache ShenYu system.
- Remediation
- Apply the patch or upgrade to the latest version of Apache ShenYu to fix the authentication bypass vulnerability.
Template by ProjectDiscovery nuclei-templates (pdteam), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2021-37580 in your dependencies?
Find it across Maven, including transitive dependencies.