Skip to content

skott is pinning a specific, old version of effect which now has a security issue #199

@kgetz-arista

Description

@kgetz-arista

The pinned version can be seen here: https://github.com/antoine-coulon/skott/blob/main/packages/skott/package.json#L54

This version is from 2 years ago (which is bad on its own) but now we're getting security advisories in our repo, via skott:

┌───────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Issue         │ Effect `AsyncLocalStorage` context lost/contaminated inside Effect fibers under concurrent load with RPC │
├───────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Severity      │ high                                                                                                     │
├───────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependency    │ effect                                                                                                   │
├───────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Version       │ 3.3.2                                                                                                    │
├───────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Full path     │ geiger-lib > geiger-aaa > skott > effect                                                                 │
├───────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable in │ <3.20.0                                                                                                  │
├───────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched in    │ >=3.20.0                                                                                                 │
├───────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Suggested fix │ Upgrade to version 3.20.0 or later                                                                       │
├───────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ More info     │ https://github.com/advisories/GHSA-38f7-945m-qr2g                                                        │
└───────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Recommendation: use version ranges, not pinned versions

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions