set-value icon indicating copy to clipboard operation
set-value copied to clipboard

upgrade 2.0.1 to 4.0.1 to fix the vulnerability.

Open BhagyashreeYogeshChaudhari opened this issue 4 years ago • 5 comments

This is my tree structure of set-value :

image

i want to upgrade it to 4.0.1

i tried to update set-value with latest and its parent packages but issue is still not resolved. image

image

https://snyk.io/test/npm/set-value/2.0.1 Ideally, 2.0.1 would be patched with a fix because so many libraries depend on it. image

craftyc0der avatar Oct 07 '21 20:10 craftyc0der

Wanted to ping this seconding the idea of releasing a patch version of 2.0.1 because I'm also stuck in this loop of higher level dependencies being hard stuck on the old version

michaelpinnell avatar Oct 12 '21 20:10 michaelpinnell

Wanted to ping this seconding the idea of releasing a patch version of 2.0.1 because I'm also stuck in this loop of higher level dependencies being hard stuck on the old version

Hi, I am also facing same issue as angular upgrade does not upgrade the set-value package. Does version 2.0.1 is vulnerable? if yes, when can we expect patch for this 2.0.1 version?

shashi4a6 avatar Oct 29 '21 14:10 shashi4a6

Any update on this?

fhljys avatar Feb 28 '23 01:02 fhljys

I also faced this issue and actually it's bit confusing for me. In my company we are using tool called MEND (aka Whitesource) to manage vulnerabilities and this tool is displaying v2.0.1 as vulnerable. On contrary SNYK is displaying 2.0.1 as not vulnerable (see https://security.snyk.io/package/npm/set-value/2.0.1).

If I understand it correctly, library author did some fix to mitigate original problem and released 2.0.1 but it's not enough and issue is finally fixed only in >v4.0.1. The problem is many libraries require set-value@^2.0.0 so we cannot upgrade local version to version 4.

So the only solution is to publish v2.0.2 which mitigates "CVE-2021-23440" completely. @jonschlinkert is it possible to do so?

Thank you.

jakubjosef avatar Mar 21 '23 15:03 jakubjosef