CVE-2021-27884

Medium

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.

SeverityMedium
CVSS5.1
Exploit probability—
ProductYmfe Yapi
PublishedMar 1, 2021
First seenMar 1, 2021

How to fix

Update
  • yapi-vendor1.9.3 or later

Affected products

ProductAffected versionsFixed in
ymfe yapiv ≤ 1.9.2—
yapi-vendornpmv < 1.9.31.9.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.