-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
Description
Steps to reproduce
- Install loopback-connector-rest
- run
npm ls json-schema
Current Behavior
The vulnerable version of json-schema is a sub-dependency of [email protected] which is the latest version of the deprecated http client.
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
Expected Behavior
Usage of non-deprectated package which are not exposed to security vulnerabilities.
Additional information
https://nvd.nist.gov/vuln/detail/CVE-2021-3918
Fixes exist for json-schema, jsprim and http-signature but request does not accept [email protected] which would resolve this issue:
https://github.com/joyent/node-http-signature/blob/master/CHANGES.md#136