{"id":"CVE-2021-37580","published":"2021-11-16T09:35:11Z","modified":"2024-08-04T01:23:01Z","title":"Apache ShenYu Admin bypass JWT authentication","vendor":"Apache Software Foundation","product":"Apache ShenYu Admin","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache ShenYu Admin","versions":["Apache ShenYu Admin 2.3.0-2.4.0"]}],"description":{"text":"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","provenance":"source","from":"CVE.org"},"summary":null,"cvss":null,"epss":{"score":0.4212,"percentile":0.98691,"date":"2026-10-30","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-12-05","exploitedFirstSeen":"2023-12-05","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-05&host_type=src&vulnerability=cve-2021-37580","date":"2023-12-05"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-06&host_type=src&vulnerability=cve-2021-37580","date":"2023-12-06"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-19&host_type=src&vulnerability=cve-2021-37580","date":"2023-12-19"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-24&host_type=src&vulnerability=cve-2021-37580","date":"2023-12-24"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-05&host_type=src&vulnerability=cve-2021-37580","date":"2024-01-05"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-14&host_type=src&vulnerability=cve-2021-37580","date":"2024-01-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-22&host_type=src&vulnerability=cve-2021-37580","date":"2024-01-22"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-24&host_type=src&vulnerability=cve-2021-37580","date":"2024-01-24"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-26&host_type=src&vulnerability=cve-2021-37580","date":"2024-01-26"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-27&host_type=src&vulnerability=cve-2021-37580","date":"2024-01-27"}],"evidenceTotal":598,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"Sąd Rejonowy w Jeleniej Gorze  POLAND","url":"https://otx.alienvault.com/pulse/66246ff49ed29ea9bb2bf122","created":"2024-04-21"}],"provenance":"machine"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://lists.apache.org/thread/o15j25qwtpcw62k48xw1tnv48skh3zgb","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2021/11/16/1","tags":["mailing-list","x_refsource_MLIST"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.apache.shenyu:shenyu-admin","vulnerableRanges":[">=2.3.0, <2.4.1"],"patched":["2.4.1"],"from":["GHSA-vpfp-5gwq-g533"],"provenance":"source"}],"advisories":[{"id":"GHSA-vpfp-5gwq-g533","url":"https://github.com/advisories/GHSA-vpfp-5gwq-g533","severity":"CRITICAL","ecosystem":"Maven","package":"org.apache.shenyu:shenyu-admin","vulnerableRanges":[">=2.3.0, <2.4.1"],"patched":["2.4.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2021-2400","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-2400","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":7,"skipped":0,"earliest":"2021-11-17","earliestUrl":"https://github.com/rabbitsafe/CVE-2021-37580","repos":[{"name":"fengwenhua/CVE-2021-37580","url":"https://github.com/fengwenhua/CVE-2021-37580","stars":38,"created":"2021-11-17"},{"name":"Liang2580/CVE-2021-37580","url":"https://github.com/Liang2580/CVE-2021-37580","stars":7,"created":"2021-11-19"},{"name":"ZororoZ/CVE-2021-37580","url":"https://github.com/ZororoZ/CVE-2021-37580","stars":5,"created":"2021-11-19"},{"name":"rabbitsafe/CVE-2021-37580","url":"https://github.com/rabbitsafe/CVE-2021-37580","stars":4,"created":"2021-11-17"},{"name":"CN016/Apache-ShenYu-Admin-JWT-CVE-2021-37580-","url":"https://github.com/CN016/Apache-ShenYu-Admin-JWT-CVE-2021-37580-","stars":1,"created":"2023-10-10"}]},"nuclei":[{"id":"CVE-2021-37580","name":"Apache ShenYu Admin JWT - Authentication Bypass","severity":"critical","path":"http/cves/2021/CVE-2021-37580.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-37580.yaml"}],"first":{"date":"2021-11-17","source":"PoC-in-GitHub","url":"https://github.com/rabbitsafe/CVE-2021-37580"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-11-16","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-37580","provenance":"source"},{"date":"2021-11-17","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/rabbitsafe/CVE-2021-37580","provenance":"source"},{"date":"2023-12-05","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-05&host_type=src&vulnerability=cve-2021-37580","provenance":"source"}],"speed":{"daysToPublicExploit":1,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":60.4,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1061 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.74,"detail":"percentile 0.9869"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"7 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2021-37580","published":"2021-11-16","fixed":"2.4.1","kev":false},{"cve":"CVE-2022-42735","published":"2023-02-15","fixed":"2.5.1","kev":false,"link":{"from":"CVE-2021-37580","to":"CVE-2022-42735","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.shenyu:shenyu-admin","fromFixed":"2.4.1","toFixed":"2.5.1","daysApart":456}]}},{"cve":"CVE-2023-25753","published":"2023-10-19","fixed":"2.6.0","kev":false}],"package":"Maven:org.apache.shenyu:shenyu-admin"}}