foreversd / forever-monitor

The core monitoring functionality of forever without the CLI
MIT License
1.16k stars 178 forks source link

Vulnerability found - CVE-2021-23440 #202

Open tapasthakkar opened 3 years ago

tapasthakkar commented 3 years ago

Hi

Issue Description

I noticed that a vulnerability is introduced in forever-monitor@3.0.3: Vulnerability CVE-2021-23440, BDSA-2019-4362 in package set-value (version < 4.0.1): https://nvd.nist.gov/vuln/detail/CVE-2021-23440

The above vulnerable package is referenced by forever-monitor@3.0.3 via:

└─┬ forever-monitor@3.0.3
  └─┬ chokidar@2.1.8
    └─┬ braces@2.3.2
      └─┬ snapdragon@0.8.2
        └─┬ base@0.11.2
          └─┬ cache-base@1.0.1
            ├── set-value@2.0.1 
            └─┬ union-value@1.0.1
              └── set-value@2.0.1 

If forever-monitor@3.0.* removes the vulnerable package from the above version, then its fixed version can help downstream users decrease their pain. Given the large number of downstream users, could you help update your package to remove the vulnerability from forever-monitor?

Thank you.

matsamuel2018 commented 2 years ago

The same CVE (https://nvd.nist.gov/vuln/detail/CVE-2021-23440) has come up in our team discussions as well. If there is an eventual fix for this to remove the vulnerable package then that would certainly be appreciated.