{ "id": "CVE-2021-40895", "sourceIdentifier": "cve@mitre.org", "published": "2022-06-27T10:15:08.280", "lastModified": "2022-07-06T17:25:03.147", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in todo-regex v0.1.1 when matching crafted invalid TODO statements." }, { "lang": "es", "value": "Se ha detectado una vulnerabilidad de Denegaci\u00f3n de Servicio por Expresiones Regulares (ReDOS) en todo-regex versi\u00f3n v0.1.1, cuando son comparados declaraciones TODO dise\u00f1adas de forma no v\u00e1lida" } ], "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 } ], "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": "NVD-CWE-Other" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:todo-regex_project:todo-regex:0.1.1:*:*:*:*:node.js:*:*", "matchCriteriaId": "8D47D426-BEDF-43DA-A29A-F188C2185180" } ] } ] } ], "references": [ { "url": "https://github.com/yetingli/SaveResults/blob/main/js/todo-regex.js", "source": "cve@mitre.org", "tags": [ "Exploit", "Third Party Advisory" ] } ] }