CVE-2021-27884
CVE-2021-27884 is a medium-severity vulnerability in Ymfe Yapi with a CVSS 3.x base score of 5.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-330.
Key facts
- Severity: Medium (CVSS 3.x base score 5.1)
- CVSS v2: 3.6
- EPSS exploit prediction: 0% (26th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-330
- Affected product: Ymfe Yapi
- Published:
- Last modified:
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.
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 3.x base score of 5.1, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2021-27884 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (26th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-27884?
- CVE-2021-27884 affects Ymfe Yapi. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-27884?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-27884 published?
- CVE-2021-27884 was published on 2021-03-01 and last updated on 2026-06-17.
References
- https://github.com/YMFE/yapi/issues/2117
- https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi
Affected products (1)
- cpe:2.3:a:ymfe:yapi:*:*:*:*:*:*:*:*
More vulnerabilities in Ymfe Yapi
- CVE-2025-70059 — High (CVSS 7.5): An issue pertaining to CWE-400: Uncontrolled Resource Consumption was discovered in YMFE yapi v1.12.0 and allows…
- CVE-2025-70058 — High (CVSS 7.4): An issue pertaining to CWE-295: Improper Certificate Validation was discovered in YMFE yapi v1.12.0. The application…
- CVE-2025-70060 — Medium (CVSS 5.4): An issue pertaining to CWE-79: Improper Neutralization of Input During Web Page Generation was discovered in YMFE yapi…
- CVE-2021-36686 — Medium (CVSS 5.4): Cross Site Scripting (XSS) vulnerability in yapi 1.9.1 allows attackers to execute arbitrary code via the…
- CVE-2018-17574 — Medium (CVSS 5.4): An issue was discovered in YMFE YApi 1.3.23. There is stored XSS in the name field of a project.
All CVEs affecting Ymfe Yapi →
Other CWE-330 (Use of Insufficiently Random Values) vulnerabilities
- CVE-2023-22601 — Critical (CVSS 10.0): InHand Networks InRouter 302, prior to version IR302 V3.5.56, and InRouter 615, prior to version…
- CVE-2026-25072 — Critical (CVSS 9.8): XikeStor SKS8310-8X Network Switch firmware versions 1.04.B07 and prior contain a predictable session identifier…
- CVE-2026-27755 — Critical (CVSS 9.8): SODOLA SL902-SWTGW124AS firmware versions through 200.1.20 contain a weak session identifier generation vulnerability…
- CVE-2026-27637 — Critical (CVSS 9.8): FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Prior to version 1.8.206,…
- CVE-2025-64097 — Critical (CVSS 9.8): NervesHub is a web service that allows users to manage over-the-air (OTA) firmware updates of devices in the field. A…
- CVE-2025-4607 — Critical (CVSS 9.8): The PSW Front-end Login & Registration plugin for WordPress is vulnerable to Privilege Escalation in all versions up…
Browse all CWE-330 (Use of Insufficiently Random Values) vulnerabilities →