Insecure Randomness Affecting yapi-vendor package, versions <1.10.1
Snyk CVSS
Attack Complexity
Low
Threat Intelligence
EPSS
0.06% (26th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-YAPIVENDOR-1089450
- published 29 Mar 2021
- disclosed 26 Mar 2021
- credit Jaroslav Lobačevski
Introduced: 26 Mar 2021
CVE-2021-27884 Open this link in a new tabHow to fix?
Upgrade yapi-vendor
to version 1.10.1 or higher.
Overview
yapi-vendor is a YAPI
Affected versions of this package are vulnerable to Insecure Randomness. Weak JSON Web Token (JWT) signing secret generation in YMFE YApi allows recreation of other users' JWT tokens. This occurs because Math.random
in Node.js is used.