CVEvulnerability

CVE-2021-27884

5.1 MEDIUM Published 2021-03-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-03-01
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.1 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS 2.0 ([email protected])
3.6 LOW — AV:L/AC:L/Au:N/C:P/I:P/A:N
Weaknesses
CWE-330

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.

Affected configurations

• ymfe yapi (<= 1.9.2)

Related

Weakness · CWE (1)

  • CWE-330 Use of Insufficiently Random Values weakness

References