{ "id": "CVE-2021-27884", "sourceIdentifier": "cve@mitre.org", "published": "2021-03-01T23:15:13.267", "lastModified": "2021-03-08T16:24:18.490", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": "La generaci\u00f3n de secretos de firma d\u00e9bil de JSON Web Token (JWT) en YMFE YApi versiones hasta 1.9.2, permite la recreaci\u00f3n de los tokens JWT de otros usuarios. Esto ocurre porque se usa Math.random en Node.js" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 5.1, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.5, "impactScore": 2.5 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:N", "accessVector": "LOCAL", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 3.6 }, "baseSeverity": "LOW", "exploitabilityScore": 3.9, "impactScore": 4.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-330" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:ymfe:yapi:*:*:*:*:*:*:*:*", "versionEndIncluding": "1.9.2", "matchCriteriaId": "D457FF7A-2FFE-425F-A0B8-C6F292C4DA10" } ] } ] } ], "references": [ { "url": "https://github.com/YMFE/yapi/issues/2117", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] } ] }