What’s Vulnerable › Vulnerabilities
CVE-2021-27884
- Severity: medium (CVSS 5.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-03-01 · updated 2026-06-17
- Weakness: CWE-330
Description
Weak JSON Web Token (JWT) signing secret generation in YMFE YApi through 1.9.2 allows recreation of other users' JWT tokens. This occurs because Math.random in Node.js is used.
Affected products
- Ymfe Yapi: through 1.9.2
References
- https://github.com/YMFE/yapi/issues/2117
- https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi
- https://github.com/YMFE/yapi/issues/2117
- https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi
Get alerted when CVE-2021-27884 or the next vulnerability affects your stack