{"id":"UBUNTU-CVE-2022-25758","details":"All versions of package scss-tokenizer are vulnerable to Regular Expression Denial of Service (ReDoS) via the loadAnnotation() function, due to the usage of insecure regex.","modified":"2026-05-20T16:07:52.896190141Z","published":"2022-07-01T20:15:00Z","upstream":["CVE-2022-25758"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-25758"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936782"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-SCSSTOKENIZER-2339884"},{"type":"REPORT","url":"https://github.com/sasstools/scss-tokenizer/issues/45"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-25758"}],"affected":[{"package":{"name":"node-node-sass","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-node-sass?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12.0-2","4.13.1-1","4.13.1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"4.13.1-3","binary_name":"node-node-sass"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25758.json"}},{"package":{"name":"node-node-sass","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-node-sass?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.14.1+git20200512.e1fc158+dfsg-4","4.14.1+git20200512.e1fc158+dfsg-6","7.0.1+git20211229.3bb51da+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-node-sass","binary_version":"7.0.1+git20211229.3bb51da+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25758.json"}},{"package":{"name":"node-node-sass","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-node-sass?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0.3+git20221109.ee13eb9+dfsg-2","9.0.0+git20240131.6081731+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.0.0+git20240131.6081731+dfsg-1","binary_name":"node-node-sass"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25758.json"}},{"package":{"name":"node-node-sass","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-node-sass?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.0+git20240131.6081731+dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_version":"9.0.0+git20240131.6081731+dfsg-3","binary_name":"node-node-sass"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25758.json"}},{"package":{"name":"node-node-sass","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-node-sass?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.0+git20240131.6081731+dfsg-3","9.0.0+git20240724.107ded9+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-node-sass","binary_version":"9.0.0+git20240724.107ded9+dfsg-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25758.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}