
Cloud Vulnerability DB
A community-led vulnerabilities database
The glob-parent package before version 6.0.1 for Node.js contains a vulnerability identified as CVE-2021-35065. This vulnerability allows ReDoS (Regular Expression Denial of Service) attacks against the enclosure regular expression. The issue was discovered in June 2021 and affects the package's ability to handle certain input patterns (SNYK, NVD).
The vulnerability exists in the enclosure regex implementation within the glob-parent package. When processing certain input patterns, particularly those with repeated characters, the regular expression engine can enter a catastrophic backtracking state. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating it is network-accessible and requires no privileges or user interaction to exploit (NVD).
Successful exploitation of this vulnerability can lead to a Denial of Service (DoS) condition. When the vulnerable regex pattern processes certain malicious inputs, it can cause excessive CPU consumption, resulting in significant performance degradation or complete service unavailability (NETAPP, SNYK).
The vulnerability is exploitable by sending specially crafted input patterns to the glob-parent package. A proof-of-concept exploit exists that demonstrates how repeated characters (such as '{' followed by multiple '/' characters) can trigger the ReDoS condition. The exploit can cause the processing time to increase exponentially with the input size (SNYK).
The recommended mitigation is to upgrade glob-parent to version 6.0.1 or higher, which contains the fix for this vulnerability. The fix involves modifying the regex pattern handling to prevent catastrophic backtracking (GITHUB_COMMIT, GITHUB_PR).
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."