CVE-2021-37580 Apache ShenYu
| Affected software | Apache ShenYu |
|---|---|
| Severity | 9.8 Critical CVSS 3.1 2 scores |
| Fixed in | 2.4.1 |
| Weakness | Improper authentication (CWE-287) |
| Published | 16 Nov 2021 |
| Updated | 4 Nov 2026 |
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
Exploitation status
Exploited
Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV listed Exploitation reported in the wild. Honeypot sightings · 5 exploits · earliest 2023-12-05.
- CISA Vulnrichment no assessment published
- Indexed PoC 8 indexed Published artifacts you can open, in GitHub PoC, Nuclei; first seen 2021-11-17.
- EPSS 41% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
VulnCheck KEV
Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2021-37580 in VulnCheck (free account).
| Evidence | Source | Detail | Date |
|---|---|---|---|
| Honeypot sighting | Shadowserver honeypots | Exploitation attempts seen on 604 days | 2023-12-05 to 2026-11-10 |
| Exploit reference | VulnCheck XDB 1295b90bce32 | Exploit type: info-leak | 2021-11-17 |
| Exploit reference | VulnCheck XDB 976244dc6fcb | Exploit type: initial-access | 2021-11-17 |
| Exploit reference | VulnCheck XDB 5453a6921c7a | Exploit type: initial-access | 2021-11-19 |
| Exploit reference | VulnCheck XDB bbab52ef6084 | Exploit type: initial-access | 2021-11-19 |
| Exploit reference | VulnCheck XDB 7cbe2d8649ce | Exploit type: initial-access | 2023-10-10 |
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | CVE-2021-37580的poc | 38 | 2021-11-17 |
| GitHub PoC | CVE-2021-37580 | 7 | 2021-11-19 |
| GitHub PoC | ZororoZ/CVE-2021-37580 | 5 | 2021-11-19 |
| GitHub PoC | rabbitsafe/CVE-2021-37580 | 4 | 2021-11-17 |
| GitHub PoC | Apache ShenYu Admin JWT认证绕过漏洞(CVE-2021-37580) | 1 | 2023-10-10 |
| GitHub PoC | Apache ShenYu 管理员认证绕过 | 2021-11-19 | |
| GitHub PoC | A vulnerability scanner that detects CVE-2021-37580 vulnerabilities. | 2021-11-19 | |
| Nuclei | Apache ShenYu Admin JWT - Authentication Bypass |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full
- Action available patch rule
- Review human ARMR file
- Record active
| Decided by | An ARMR patch file on disk for this CVE |
|---|---|
| Finding | CVE has an ARMR patch rule that provides mitigation |
ARMR rule files
1 fileThe rule files Waratek ships for this CVE. Some CVEs need more than one, for example one per affected library or one per ARMR version.
CVE-2021-37580.armr patch rule, ARMR 2.6 added 2026-11-03 updated 2026-11-04How to mitigate CVE-2021-37580
Upgrade Apache ShenYu to 2.4.1 or later. Until you can, Waratek RASP blocks exploitation with a rule written for this CVE. It runs inside the Java application, with no code changes.
CVSS
9.8 CRITICAL
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
9.8 CRITICAL v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 2.0 | 7.5 | none | AV:N/AC:L/Au:N/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.shenyu:shenyu-admin |
2.3.0 | 2.4.1 |
unbounded |
Products and versions
2 products, 3 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | shenyu | generic | 2.3.0 · 2.4.0 |
| osv | org.apache.shenyu | shenyu-admin | generic | ≥ 2.3.0 and < 2.4.1 |
References
Timeline
Timeline
| Published | 2021-11-16 | By the CVE Program. |
|---|---|---|
| VulnCheck KEV: earliest evidence | 2023-12-05 | Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE. |
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |
| ARMR remediation created | 2026-11-03 | Earliest commit adding this CVE's ARMR patch or security rule. |
| ARMR remediation last updated | 2026-11-04 | Most recent commit touching this CVE's ARMR patch or security rule. |
| Last VRT activity | 2026-11-04 | Most recent commit touching this CVE's classification, patch or rule file. |
| VulnCheck KEV: latest evidence | 2026-11-10 | Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record. |