aohua / redux-state-sync

A lightweight middleware to sync your redux state across browser tabs
MIT License
235 stars 28 forks source link

broadcast-channel upgrade #175

Open lmhkkang opened 7 months ago

lmhkkang commented 7 months ago

Due to snyck security report current version of redux-state-sync has minor vulnerability.

Detailed paths Introduced through: redux-state-sync@3.1.4 › broadcast-channel@3.7.0 › rimraf@3.0.2 › glob@7.2.3 › inflight@1.0.6

Fix: No remediation path available. Security information Factors contributing to the scoring: Snyk: CVSS 6.2 - Medium Severity

NVD: NVD only publishes analysis of vulnerabilities which are assigned a CVE ID. This vulnerability currently does not have an assigned CVE ID. Why are the scores different? Learn how Snyk evaluates vulnerability scores Overview Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime via the makeres function due to improperly deleting keys from the reqs object after execution of callbacks. This behavior causes the keys to remain in the reqs object, which leads to resource exhaustion.

Exploiting this vulnerability results in crashing the node process or in the application crash.

Note: This library is not maintained, and currently, there is no fix for this issue. To overcome this vulnerability, several dependent packages have eliminated the use of this library.

To trigger the memory leak, an attacker would need to have the ability to execute or influence the asynchronous operations that use the inflight module within the application. This typically requires access to the internal workings of the server or application, which is not commonly exposed to remote users. Therefore, “Attack vector” is marked as “Local”.