{ "id": "CVE-2022-25858", "sourceIdentifier": "report@snyk.io", "published": "2022-07-15T20:15:08.427", "lastModified": "2024-11-21T06:53:07.677", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions." }, { "lang": "es", "value": "El paquete terser versiones anteriores a 4.8.1, a partir de la versi\u00f3n 5.0.0 anteriores a 5.14.2, son vulnerables a una Denegaci\u00f3n de Servicio por Expresi\u00f3n Regular (ReDoS) debido al uso no seguro de expresiones regulares" } ], "metrics": { "cvssMetricV31": [ { "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", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW" }, "exploitabilityScore": 3.9, "impactScore": 1.4 }, { "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", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } ] }, "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:terser:terser:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "4.8.1", "matchCriteriaId": "0A470914-3805-4013-9E7D-6AB1241062A9" }, { "vulnerable": true, "criteria": "cpe:2.3:a:terser:terser:*:*:*:*:*:node.js:*:*", "versionStartIncluding": "5.0.0", "versionEndExcluding": "5.14.2", "matchCriteriaId": "34C8303E-663F-4756-BF89-AA071EFDF7C2" } ] } ] } ], "references": [ { "url": "https://github.com/terser/terser/blob/master/lib/compress/evaluate.js%23L135", "source": "report@snyk.io", "tags": [ "Broken Link" ] }, { "url": "https://github.com/terser/terser/commit/a4da7349fdc92c05094f41d33d06d8cd4e90e76b", "source": "report@snyk.io", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/terser/terser/commit/d8cc5691be980d663c29cc4d5ce67e852d597012", "source": "report@snyk.io", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2949722", "source": "report@snyk.io", "tags": [ "Exploit", "Patch", "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JS-TERSER-2806366", "source": "report@snyk.io", "tags": [ "Exploit", "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/terser/terser/blob/master/lib/compress/evaluate.js%23L135", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Broken Link" ] }, { "url": "https://github.com/terser/terser/commit/a4da7349fdc92c05094f41d33d06d8cd4e90e76b", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/terser/terser/commit/d8cc5691be980d663c29cc4d5ce67e852d597012", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2949722", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Exploit", "Patch", "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JS-TERSER-2806366", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Exploit", "Patch", "Third Party Advisory" ] } ] }