Conversation
Eliminate regex and use string matcher Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
|
🎉 This PR is included in version 3.2.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
Can we add this to v2 (CommonJS) as well? (ref) |
We would be happy to accept a PR for this |
|
I went through 2.x code and I could not find this issue there. 2.x doesn't even implement We got a Snyk-bot notification about this issue, but I think node-fetch:2.x is not affected by this CVE. |
|
Hi there, I confirm that version 2.x is not affected by this vulnerability. |
|
I suggest we could add a Security Advisory and specify the affected version for this issue. |
|
Just for clarity, we have updated the CVE here: |
Purpose
Fix Inefficient Regular Expression Complexity (ReDoS) in the referrer regex.
Changes
Potentially Trustworthyregex matcher.Additional information