WaratekVRT Sign in

CVE-2021-37580 Apache ShenYu

Affected softwareApache ShenYu
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in2.4.1
WeaknessImproper authentication (CWE-287)
Published16 Nov 2021
Updated4 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.

  • 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).

EvidenceSourceDetailDate
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

4 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst 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

Protected by Waratek

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 file

The 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-04

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

Waratek RASP Runtime protection for Java applications

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

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.

VersionScoreBandVectorAssignerType
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
PackageIntroducedFixedLast affected
org.apache.shenyu:shenyu-admin 2.3.0 2.4.1 unbounded

Products and versions

2 products, 3 version entries
SourceVendorProductSchemeAffected 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

URLTags
https://github.com/apache/shenyu/commit/f78adb26926ba53b4ec5c21f2cf7e931461d601d WEB
https://github.com/apache/shenyu PACKAGE
https://github.com/apache/shenyu/releases/tag/v2.4.1 WEB
https://lists.apache.org/thread/o15j25qwtpcw62k48xw1tnv48skh3zgb WEB
http://www.openwall.com/lists/oss-security/2021/11/16/1 WEB

Timeline

Published2021-11-16By the CVE Program.
VulnCheck KEV: earliest evidence2023-12-05Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
NVD record modified2026-06-17NVD's own last-modified date for this record.
ARMR remediation created2026-11-03Earliest commit adding this CVE's ARMR patch or security rule.
ARMR remediation last updated2026-11-04Most recent commit touching this CVE's ARMR patch or security rule.
Last VRT activity2026-11-04Most recent commit touching this CVE's classification, patch or rule file.
VulnCheck KEV: latest evidence2026-11-10Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record.