GHSA-7mwh-4pqv-wmr8

Suggest an improvement
Source
https://github.com/advisories/GHSA-7mwh-4pqv-wmr8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-7mwh-4pqv-wmr8/GHSA-7mwh-4pqv-wmr8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7mwh-4pqv-wmr8
Aliases
  • CVE-2022-25758
Published
2022-07-02T00:00:19Z
Modified
2023-11-08T04:08:47Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-1333"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-07-06T21:07:13Z",
    "nvd_published_at":  "2022-07-01T20:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / scss-tokenizer

Package

Name
scss-tokenizer
View open source insights on deps.dev
Purl
pkg:npm/scss-tokenizer

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.4.3

Database specific

last_known_affected_version_range
"<= 0.4.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-7mwh-4pqv-wmr8/GHSA-7mwh-4pqv-wmr8.json"