Sync-in Server has a ReDoS via Unsanitized Regex in Sync Diff `pathFilters`
Sync-in server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @sync-in/server npm |
|
|
Original description
Sync-in Server is an open-source platform for file storage, sharing, collaboration, and syncing. Prior to version 2.4.0, the sync diff endpoint compiles a user-supplied string into a `RegExp` with no complexity validation. A catastrophic-backtracking pattern (e.g. `^(a+)+b`) blocks the Node.js event loop, making the entire server unresponsive to all users until the container is restarted. Version 2.4.0 patches the issue.
From the CVE record · GitHub_M