{ "id": "CVE-2021-21306", "sourceIdentifier": "security-advisories@github.com", "published": "2021-02-08T22:15:12.450", "lastModified": "2021-02-11T21:53:28.210", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "Marked is an open-source markdown parser and compiler (npm package \"marked\"). In marked from version 1.1.1 and before version 2.0.0, there is a Regular expression Denial of Service vulnerability. This vulnerability can affect anyone who runs user generated code through marked. This vulnerability is fixed in version 2.0.0." }, { "lang": "es", "value": "Marked es un analizador y compilador de rebajas de c\u00f3digo abierto (paquete npm \"marked\"). En marked desde la versi\u00f3n 1.1.1 y anteriores a versi\u00f3n 2.0.0, se presenta una vulnerabilidad de Denegaci\u00f3n de Servicio de expresi\u00f3n Regular. Esta vulnerabilidad puede afectar a cualquiera que ejecute c\u00f3digo generado por el usuario mediante marked. Esta vulnerabilidad se corrigi\u00f3 en la versi\u00f3n 2.0.0" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 3.6 }, { "source": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW", "baseScore": 5.3, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 3.9, "impactScore": 1.4 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 5.0 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 10.0, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-400" } ] }, { "source": "security-advisories@github.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-400" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*", "versionStartIncluding": "1.1.1", "versionEndExcluding": "2.0.0", "matchCriteriaId": "A9E51743-C978-477B-8B63-EEFC0C7EA788" } ] } ] } ], "references": [ { "url": "https://github.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd", "source": "security-advisories@github.com", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/markedjs/marked/issues/1927", "source": "security-advisories@github.com", "tags": [ "Third Party Advisory" ] }, { "url": "https://github.com/markedjs/marked/pull/1864", "source": "security-advisories@github.com", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/markedjs/marked/security/advisories/GHSA-4r62-v4vq-hr96", "source": "security-advisories@github.com", "tags": [ "Third Party Advisory" ] }, { "url": "https://www.npmjs.com/package/marked", "source": "security-advisories@github.com", "tags": [ "Product", "Third Party Advisory" ] } ] }