Skip to content

Security vulnerability in create-react-context package #221

@qooban

Description

@qooban

There is the following security vulnerability reported by npm audit:

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Denial of Service                                            │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ node-fetch                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=2.6.1 <3.0.0-beta.1|| >= 3.0.0-beta.9                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ react-live                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ react-live > create-react-context > fbjs > isomorphic-fetch  │
│               │ > node-fetch                                                 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1556                            │
└───────────────┴──────────────────────────────────────────────────────────────┘

I found that updating create-react-context to v0.3.0 should fix the problem. It looks like it is safe update, there were internal dependencies changes inside the package, but nothing critical to the functionality. Details: jamiebuilds/create-react-context@v0.2.2...v0.3.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions