Skip to main content
← All vulnerabilities
CVE-2021-27884GHSA-2H3H-VW8R-82RP

Weak JSON Web Token (JWT) signing secret generation in YMFE YApi through 1.9.2 allows recreation of other users' JWT tokens.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.9.3
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • yapi-vendornpm

    fixed in 1.9.3

References 2

securitylab.github.com

GitHub · YMFE/yapi