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 | 
| https://github.com/YMFE/yapi/issues/2117 | Third Party Advisory | 
| https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi | Third Party Advisory | 
Configurations
                    History
                    21 Nov 2024, 05:58
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://github.com/YMFE/yapi/issues/2117 - Third Party Advisory | |
| References | () https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi - Third Party Advisory | 
Information
                Published : 2021-03-01 23:15
Updated : 2024-11-21 05:58
NVD link : CVE-2021-27884
Mitre link : CVE-2021-27884
CVE.ORG link : CVE-2021-27884
JSON object : View
Products Affected
                ymfe
- yapi
CWE
                
                    
                        
                        CWE-330
                        
            Use of Insufficiently Random Values
