CVE-2021-27884 Weak JSON Web Token in yapi-vendor
MediumCVSS 5.1
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm yapi-vendor(npm) | < 1.9.3; <= 1.9.2 | 1.9.3 | Fixed |
| ymfe yapi | <= 1.9.2 | after 1.9.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm yapi-vendor(npm) | <= 1.9.2 | No fix listed |
| ymfe yapi | <= 1.9.2 | No fix listed |
| npm yapi-vendor(npm) | < 1.9.3 | 1.9.3 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com third-party-advisory
- securitylab.github.com third-party-advisory vendor-advisory
- github.com
- github.com