CVE-2021-27884

MEDIUMCVSS 5.1/10EPSS 0.34%

Last modified

CVE-2021-27884 is a medium-severity vulnerability rated 5.1/10 on the CVSS scale. 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.. EPSS estimates a 0.34% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.1/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

EPSS Probability
0.34%

25.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
YmfeYapi<= 1.9.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-27884?
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.
How severe is CVE-2021-27884?
CVE-2021-27884 has a CVSS score of 5.1/10 (MEDIUM severity). The EPSS model estimates a 0.34% probability of exploitation in the next 30 days.
How do I fix CVE-2021-27884?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-27884?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST