{"id":"GHSA-7mwh-4pqv-wmr8","summary":"Regular expression denial of service in scss-tokenizer","details":"All versions of the package `scss-tokenizer` prior to 0.4.3 are vulnerable to Regular Expression Denial of Service (ReDoS) via the `loadAnnotation()` function, due to the usage of insecure regex.","aliases":["CVE-2022-25758"],"modified":"2023-11-08T04:08:47.839855Z","published":"2022-07-02T00:00:19Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-07-06T21:07:13Z","nvd_published_at":"2022-07-01T20:15:00Z","cwe_ids":["CWE-1333"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25758"},{"type":"WEB","url":"https://github.com/sasstools/scss-tokenizer/issues/45"},{"type":"WEB","url":"https://github.com/sasstools/scss-tokenizer/pull/49"},{"type":"WEB","url":"https://github.com/sasstools/scss-tokenizer/commit/a53b6f233e648cc01acbdd89c58786cf8ba56e35"},{"type":"PACKAGE","url":"https://github.com/sasstools/scss-tokenizer"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936782"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SCSSTOKENIZER-2339884"}],"affected":[{"package":{"name":"scss-tokenizer","ecosystem":"npm","purl":"pkg:npm/scss-tokenizer"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-7mwh-4pqv-wmr8/GHSA-7mwh-4pqv-wmr8.json","last_known_affected_version_range":"\u003c= 0.4.2"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}