-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| debug | npm | < 2.6.9 | 2.6.9 |
| debug | npm | >= 3.0.0, < 3.1.0 | 3.1.0 |
The vulnerability stems from the regex-based replacement in the %o formatter (exports.formatters.o) shown in the commit diff. While the vulnerability description mentions the 'useColors' function, the actual ReDoS vector was in the regex pattern used by the formatter to collapse whitespace. The patch replaced the regex with a safer string manipulation approach (split-trim-join), confirming this as the vulnerable code path. The CWE-1333 classification and commit message ('remove ReDoS regexp in %o formatter') directly implicate this function.
Ongoing coverage of React2Shell