Vulnerability record · CVE-2021-27884 · published 1 March 2021
CVE-2021-27884: Ymfe yapi vulnerability
Ymfe · Yapi
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.
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/YMFE/yapi/issues/2117 | Third Party Advisory |
| https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi | Third Party Advisory |
| https://github.com/YMFE/yapi/issues/2117 | Third Party Advisory |
| https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi | Third Party Advisory |
Track CVE-2021-27884 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-27884), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.