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.
References
Link | Resource |
---|---|
https://github.com/YMFE/yapi/issues/2117 | Third Party Advisory |
https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi | Third Party Advisory |
Configurations
Information
Published : 2021-03-01 15:15
Updated : 2021-03-08 08:24
NVD link : CVE-2021-27884
Mitre link : CVE-2021-27884
JSON object : View
CWE
CWE-330
Use of Insufficiently Random Values
Products Affected
ymfe
- yapi