
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-25758 affects all versions of the scss-tokenizer package prior to version 0.4.3. The vulnerability was discovered on January 13, 2022, and publicly disclosed on June 29, 2022. This security issue is identified as a Regular Expression Denial of Service (ReDoS) vulnerability that exists in the loadAnnotation() function due to the implementation of insecure regex patterns (Snyk Advisory, NVD).
The vulnerability is classified as CWE-1333 (Inefficient Regular Expression Complexity) with a CVSS v3.1 base score ranging from 5.3 (Medium) to 7.5 (High). The issue stems from the usage of insecure regex patterns in the loadAnnotation() function, which can be exploited through crafted input strings. The vulnerability manifests when processing source map annotations, specifically in the pattern matching expression 'css.match(//*\s*# sourceMappingURL=(.)\s*/)' (GitHub Issue, Snyk Advisory).
When exploited, this vulnerability can lead to a Denial of Service condition by causing the application to consume excessive CPU resources. The impact is primarily on availability, with no direct effect on confidentiality or integrity. The attack can cause the service to become partially available or experience significant performance degradation (Snyk Advisory).
The recommended mitigation is to upgrade scss-tokenizer to version 0.4.3 or higher, which contains the fix for this vulnerability (Snyk Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."