{"id":"CVE-2021-27884","published":"2021-03-01T23:00:51Z","modified":"2024-08-03T21:33:16Z","title":"Weak JSON Web Token (JWT) signing secret generation in YMFE YApi through 1.9.2 allows recreation of other users' JWT…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00342,"percentile":0.20221,"provenance":"source"},"cwes":[],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi","tags":["x_refsource_MISC"]},{"url":"https://github.com/YMFE/yapi/issues/2117","tags":["x_refsource_MISC"]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":4.04}]},"affected":[{"ecosystem":"npm","package":"yapi-vendor","vulnerableRanges":["<1.9.3"],"patched":["1.9.3"],"from":["GHSA-2h3h-vw8r-82rp"],"provenance":"source"}],"summary":{"text":"The flaw is weak JWT signing secret generation in YMFE YApi through version 1.9.2, where the signing secret is produced using Math.random in Node.js.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:04Z"},"euvd":{"id":"EUVD-2021-0584","exploited":false,"provenance":"source"}}