CVE-2021-27884

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
Configurations

Configuration 1 (hide)

cpe:2.3:a:ymfe:yapi:*:*:*:*:*:*:*:*

History

08 Mar 2021, 16:24

Type Values Removed Values Added
References (MISC) https://github.com/YMFE/yapi/issues/2117 - (MISC) https://github.com/YMFE/yapi/issues/2117 - Third Party Advisory
References (MISC) https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi - (MISC) https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 3.6
v3 : 5.1
CWE CWE-330
CPE cpe:2.3:a:ymfe:yapi:*:*:*:*:*:*:*:*

01 Mar 2021, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-03-01 23:15

Updated : 2023-12-10 13:41


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