Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unset-value Vulnerability #27

Open
dhivyalaxmi-murugesan opened this issue Feb 15, 2022 · 2 comments
Open

Unset-value Vulnerability #27

dhivyalaxmi-murugesan opened this issue Feb 15, 2022 · 2 comments

Comments

@dhivyalaxmi-murugesan
Copy link

dhivyalaxmi-murugesan commented Feb 15, 2022

We have found vulnerability in unset-value, the cache-base library internally uses unset-value, and unset value version below 2.0.1 are vulnarable. is there any plan to fix this issue and release a new version.
Please refer
https://security.snyk.io/vuln/SNYK-JS-UNSETVALUE-2400660 @jonschlinkert

@rjerue
Copy link

rjerue commented Feb 21, 2022

I too am running into this -- scary part is that most folks are on version 1.0.1 of this lib. It doesn't look like the change made to unset value should be breaking unless one was relying on the prototype pollution to break things.

Three options exist in my eyes

Fix in userland
Effort to fix heavily relied on upstream packages. For me this is https://github.com/base/base 0.11.2 -- which exists nowhere in git history.
Publish a semver fix as 1.0.2.

I was able to fix in userland by adding a yarn resolution.

{
   // ...package.json
  "resolutions": {
    "unset-value": "^2.0.1"
  }
}

@benjamindally
Copy link

benjamindally commented Oct 20, 2022

Any chance of getting the PR in that fixes this in @jonschlinkert?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants