VulnerabilityModified
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.
MEDIUM 5.1EPSS 0.34%
Does this matter?
Lower severity and a low EPSS score (0.34%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.1 MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS
- 0.34% probability · 27th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-330
- Affected
- ymfe/yapi
- Source
- cve@mitre.org
References
- https://github.com/YMFE/yapi/issues/2117Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapiThird Party Advisory
- https://github.com/YMFE/yapi/issues/2117Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapiThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.