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.
Metrics
CVSS 3.1 5.1/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/YMFE/yapi/issues/2117Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapiThird Party Advisory
- https://github.com/YMFE/yapi/issues/2117Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapiThird Party Advisory
Timeline
- Published
- Mar 1, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified