{ "id": "CVE-2022-21222", "sourceIdentifier": "report@snyk.io", "published": "2022-09-30T05:15:08.713", "lastModified": "2023-08-08T14:22:24.967", "vulnStatus": "Modified", "descriptions": [ { "lang": "en", "value": "The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function." }, { "lang": "es", "value": "El paquete css-what versiones anteriores a 2.1.3, es vulnerable a una Denegaci\u00f3n de Servicio por Expresi\u00f3n Regular (ReDoS) debido al uso de una expresi\u00f3n regular no segura en la variable re_attr del archivo index.js. La explotaci\u00f3n de esta vulnerabilidad podr\u00eda desencadenarse por medio de la funci\u00f3n parse" } ], "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": "report@snyk.io", "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 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-1333" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:css-what_project:css-what:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "2.1.3", "matchCriteriaId": "004658D4-A63D-4954-A507-A80F9C07B13D" } ] } ] } ], "references": [ { "url": "https://github.com/fb55/css-what/blob/a38effd5a8f5506d75c7f8f13cbd8c76248a3860/index.js%23L12", "source": "report@snyk.io", "tags": [ "Broken Link", "Third Party Advisory" ] }, { "url": "https://lists.debian.org/debian-lts-announce/2023/03/msg00001.html", "source": "report@snyk.io" }, { "url": "https://security.snyk.io/vuln/SNYK-JS-CSSWHAT-3035488", "source": "report@snyk.io", "tags": [ "Exploit", "Third Party Advisory" ] } ] }