{ "id": "CVE-2021-3377", "sourceIdentifier": "cve@mitre.org", "published": "2021-03-05T21:15:13.263", "lastModified": "2021-03-09T15:46:50.940", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "The npm package ansi_up converts ANSI escape codes into HTML. In ansi_up v4, ANSI escape codes can be used to create HTML hyperlinks. Due to insufficient URL sanitization, this feature is affected by a cross-site scripting (XSS) vulnerability. This issue is fixed in v5.0.0." }, { "lang": "es", "value": "El paquete npm ansi_up convierte los c\u00f3digos de escape ANSI en HTML. En ansi_up versi\u00f3n v4, los c\u00f3digos de escape ANSI pueden ser usados para crear hiperv\u00ednculos HTML. Debido a un saneamiento insuficiente de la URL, esta funcionalidad est\u00e1 afectada por una vulnerabilidad de tipo cross-site scripting (XSS). Este problema es corregido en versi\u00f3n v5.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:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.8, "impactScore": 2.7 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 4.3 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-79" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:ansi_up_project:ansi_up:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "5.0.0", "matchCriteriaId": "72350660-79B9-4D4C-8F06-70A88AE1C3AC" } ] } ] } ], "references": [ { "url": "https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf", "source": "cve@mitre.org", "tags": [ "Exploit", "Third Party Advisory" ] }, { "url": "https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27", "source": "cve@mitre.org", "tags": [ "Patch", "Third Party Advisory" ] } ] }