yapi-vendor
Affected
- introduced
0, fixed1.9.3(semver)
Fixed versions
1.9.3
Fix
- Fixed version
1.9.3npm install [email protected]
Advisory
Also known as: CVE-2021-27884
Weak JSON Web Token in yapi-vendor
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 as a source of randomness in jwt signing. Math.random does not provide cryptographically secure random numbers. This has been patched in version 1.9.3.
Medium Basis: The source's own band: MODERATE
0, fixed 1.9.3 (semver)1.9.3
1.9.3npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0