CVE-2021-27884Published Mar 1, 2021 · Mar 1Updated Oct 20
Weak JSON Web Token in yapi-vendor
Medium5.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| yapi-vendor npm |
|
|
Original 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.
From the CVE record · mitre