Skip to content

Security vulnerabilities in generator-loopback #352

@MelleB

Description

@MelleB

nsp check fails on the open@0.0.5 dependency.
Repository of the open package suggests to migrate to opn

Description/Steps to reproduce

$ yarn run nsp check
┌───────────────┬─────────────────────────────────────────────────────────────────────────────────┐
│               │ Command Injection                                                               │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Name          │ open                                                                            │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ CVSS          │ 10 (Critical)                                                                   │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Installed     │ 0.0.5                                                                           │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ All                                                                             │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Patched       │ None                                                                            │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Path          │ data-api@1.0.0 > loopback-cli@4.2.0 > generator-loopback@5.8.0 > open@0.0.5     │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/663                                          │
└───────────────┴─────────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬─────────────────────────────────────────────────────────────────────────────────┐
│               │ Prototype pollution attack                                                      │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Name          │ hoek                                                                            │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ CVSS          │ 4 (Medium)                                                                      │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Installed     │ 2.16.3                                                                          │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ <= 4.2.0 || >= 5.0.0 < 5.0.3                                                    │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Patched       │ > 4.2.0 < 5.0.0 || >= 5.0.3                                                     │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Path          │ data-api@1.0.0 > loopback-cli@4.2.0 > generator-loopback@5.8.0 > zosconnect-no… │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/566                                          │
└───────────────┴─────────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬─────────────────────────────────────────────────────────────────────────────────┐
│               │ Prototype Pollution                                                             │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Name          │ lodash                                                                          │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ CVSS          │ 2 (Low)                                                                         │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Installed     │ 3.10.1                                                                          │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ <4.17.5                                                                         │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Patched       │ >=4.17.5                                                                        │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Path          │ data-api@1.0.0 > loopback-cli@4.2.0 > generator-loopback@5.8.0 > yeoman-genera… │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/577                                          │
└───────────────┴─────────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬─────────────────────────────────────────────────────────────────────────────────┐
│               │ Prototype Pollution                                                             │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Name          │ deep-extend                                                                     │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ CVSS          │ 2 (Low)                                                                         │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Installed     │ 0.4.2                                                                           │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ <=0.5.0                                                                         │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Patched       │ >=0.5.1                                                                         │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ Path          │ data-api@1.0.0 > loopback-cli@4.2.0 > generator-loopback@5.8.0 > yeoman-genera… │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/612                                          │
└───────────────┴─────────────────────────────────────────────────────────────────────────────────┘

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