CVE-2021-27884
CVSS V2 Low 3.6
CVSS V3 Medium 5.1
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.
Overview
- CVE ID
- CVE-2021-27884
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-01T23:15:13
- Last Modified Date
- 2021-03-08T16:24:18
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:ymfe:yapi:*:*:*:*:*:*:*:* | 1 | OR | 1.9.2 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:L/Au:N/C:P/I:P/A:N
- Access Vector
- LOCAL
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 3.6
- Severity
- LOW
- Exploitability Score
- 3.9
- Impact Score
- 4.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 5.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.5
- Impact Score
- 2.5
References
Reference URL | Reference Tags |
---|---|
https://github.com/YMFE/yapi/issues/2117 | Third Party Advisory |
https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-27884 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27884 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:20:45 | Added to TrackCVE | |||
2022-12-05 22:58:35 | 2021-03-01T23:15Z | 2021-03-01T23:15:13 | CVE Published Date | updated |
2022-12-05 22:58:35 | 2021-03-08T16:24:18 | CVE Modified Date | updated | |
2022-12-05 22:58:35 | Analyzed | Vulnerability Status | updated |