QID 981997

QID 981997: Nodejs (npm) Security Update for yapi-vendor (GHSA-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. This occurs because Math.random in Node.js is used as a source of randomness in jwt signing. Math.random does not provide cryptographically secure random numbers. This has been patched in version 1.9.3.

Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.

  • CVSS V3 rated as Medium - 5.1 severity.
  • CVSS V2 rated as Medium - 3.6 severity.
  • Solution
    Customers are advised to refer to GHSA-2h3h-vw8r-82rp for updates pertaining to this vulnerability.
    Vendor References

    CVEs related to QID 981997

    Software Advisories
    Advisory ID Software Component Link
    GHSA-2h3h-vw8r-82rp yapi-vendor URL Logo github.com/advisories/GHSA-2h3h-vw8r-82rp