High
node-node-sass — security advisory
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.
- Products
- node-node-sass
- Affected versions
- 4.12.0-2, 4.13.1-1, 4.13.1-3, 4.14.1+git20200512.e1fc158+dfsg-4, 4.14.1+git20200512.e1fc158+dfsg-6, 7.0.1+git20211229.3bb51da+dfsg-1, 7.0.3+git20221109.ee13eb9+dfsg-2, 9.0.0+git20240131.6081731+dfsg-1, 9.0.0+git20240131.6081731+dfsg-3, 9.0.0+git20240724.107ded9+dfsg-1build1, 9.0.0+git20240724.107ded9+dfsg-1build2
- Fixed versions
- Not specified
- CVEs
- CVE-2022-25758
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:45 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2022-25758
node-node-sass
Fixed versions: Not specified
node-node-sass
Fixed versions: Not specified
node-node-sass
Fixed versions: Not specified
node-node-sass
Fixed versions: Not specified
node-node-sass
Fixed versions: Not specified
node-node-sass
Fixed versions: Not specified
Complete source record
{
"id": "f3509c9a4a6200ba07ddc633cdb6ed0e8a39622416096c6143a20491fc4514b0",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-25758",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-25758",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2022-25758",
"products": [
{
"name": {
"value": "node-node-sass",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.12.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "4.13.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.13.1-3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-node-sass",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.14.1+git20200512.e1fc158+dfsg-4",
"evidence": "/affected/1/versions"
},
{
"value": "4.14.1+git20200512.e1fc158+dfsg-6",
"evidence": "/affected/1/versions"
},
{
"value": "7.0.1+git20211229.3bb51da+dfsg-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-node-sass",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.0.3+git20221109.ee13eb9+dfsg-2",
"evidence": "/affected/2/versions"
},
{
"value": "9.0.0+git20240131.6081731+dfsg-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-node-sass",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.0.0+git20240131.6081731+dfsg-3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-node-sass",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.0.0+git20240724.107ded9+dfsg-1build1",
"evidence": "/affected/4/versions"
},
{
"value": "9.0.0+git20240724.107ded9+dfsg-1build2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "node-node-sass",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.0.0+git20240131.6081731+dfsg-3",
"evidence": "/affected/5/versions"
},
{
"value": "9.0.0+git20240724.107ded9+dfsg-1build1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2022-25758",
"aliases": [
"UBUNTU-CVE-2022-25758"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-node-sass",
"purl": "pkg:deb/ubuntu/node-node-sass?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"4.12.0-2",
"4.13.1-1",
"4.13.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25758.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-node-sass",
"binary_version": "4.13.1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-node-sass",
"purl": "pkg:deb/ubuntu/node-node-sass?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"4.14.1+git20200512.e1fc158+dfsg-4",
"4.14.1+git20200512.e1fc158+dfsg-6",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-node-sass",
"binary_version": "7.0.1+git20211229.3bb51da+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-node-sass",
"purl": "pkg:deb/ubuntu/node-node-sass?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"7.0.3+git20221109.ee13eb9+dfsg-2",
"9.0.0+git20240131.6081731+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25758.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-node-sass",
"binary_version": "9.0.0+git20240131.6081731+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-node-sass",
"purl": "pkg:deb/ubuntu/node-node-sass?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"9.0.0+git20240131.6081731+dfsg-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25758.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-node-sass",
"binary_version": "9.0.0+git20240131.6081731+dfsg-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-node-sass",
"purl": "pkg:deb/ubuntu/node-node-sass?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"9.0.0+git20240724.107ded9+dfsg-1build1",
"9.0.0+git20240724.107ded9+dfsg-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25758.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-node-sass",
"binary_version": "9.0.0+git20240724.107ded9+dfsg-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-node-sass",
"purl": "pkg:deb/ubuntu/node-node-sass?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"9.0.0+git20240131.6081731+dfsg-3",
"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"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-node-sass",
"binary_version": "9.0.0+git20240724.107ded9+dfsg-1build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:02.358530351Z",
"provider": "osv",
"upstream": [
"CVE-2022-25758"
],
"references": [
"https://ubuntu.com/security/CVE-2022-25758",
"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936782",
"https://snyk.io/vuln/SNYK-JS-SCSSTOKENIZER-2339884",
"https://github.com/sasstools/scss-tokenizer/issues/45",
"https://www.cve.org/CVERecord?id=CVE-2022-25758"
]
},
"related_cves": [
{
"value": "CVE-2022-25758",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 354649,
"published_at": "2022-07-01T20:15:00+00:00"
}