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

Update bl indirect dependency #1437

Closed
whymarrh opened this issue Mar 19, 2020 · 0 comments · Fixed by #1438
Closed

Update bl indirect dependency #1437

whymarrh opened this issue Mar 19, 2020 · 0 comments · Fixed by #1438

Comments

@whymarrh
Copy link
Contributor

GitHub has reminded us of a security advisory in one of our dependencies.

GitHub

WS-2018-0074

Vulnerable versions: < 0.9.5
Patched version: 0.9.5

Versions of bl before 0.9.5 and 1.0.1 are vulnerable to memory exposure.

bl.append(number) in the affected bl versions passes a number to Buffer constructor, appending a chunk of uninitialized memory

Yarn

yarn audit shows:

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ moderate      │ Memory Exposure                                              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ bl                                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=0.9.5 <1.0.0 || >=1.0.1                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ react-native-level-fs                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ react-native-level-fs > levelup > bl                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/596                         │
└───────────────┴──────────────────────────────────────────────────────────────┘
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

Successfully merging a pull request may close this issue.

1 participant