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

audit vulnerability - Prototype Pollution #25

Open
zacharytyhacz opened this issue Apr 5, 2021 · 2 comments
Open

audit vulnerability - Prototype Pollution #25

zacharytyhacz opened this issue Apr 5, 2021 · 2 comments

Comments

@zacharytyhacz
Copy link

hello @gunn

I am using pure-store in my project and when i run:

$ yarn audit

I get this output:

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ high          │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ immer                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=8.0.1                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ pure-store                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ pure-store > immer                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/1603                        │
└───────────────┴──────────────────────────────────────────────────────────────┘

my package.json:

...
      "pure-store": "^1.1.0",
...
@zacharytyhacz
Copy link
Author

zacharytyhacz commented Apr 20, 2021

Update, the npm audit now says "Severe"

Im assuming there's really not much to do to fix this audit besides removing immer as dependency or submitting issue on their github. But immer has been updated to 9, maybe an upgrade to version 9 can fix?

> npm audit
# npm audit report

immer  <8.0.1
Severity: high
Prototype Pollution - https://npmjs.com/advisories/1603
No fix available
node_modules/pure-store/node_modules/immer
  pure-store  *
  Depends on vulnerable versions of immer
  node_modules/pure-store

2 high severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

@zacharytyhacz
Copy link
Author

Made a fork package:

https://www.npmjs.com/package/pure-store-updated

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

1 participant