-
Notifications
You must be signed in to change notification settings - Fork 544
Replace outdated request dependency that introduces critical vulnerability in json-schema (CVE-2021-3918) #812
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
This looks like it will resolve the following warnings:
Although So that warning may require additional package updates to fully resolve. |
This is a duplicate of #414 there is a long discussion there. Additionally there is documentation for the migration path here: The fetch migration has slowed because this is a community supported project. If someone wants to help with the migration, we would be very happy to have the help. Thanks! |
@brendandburns that discussion is over 2 years old and looks to be stalled. What is your recommendation for people who need to use Kubernetes API from Node? |
Describe the bug
This client depends on no longer maintained
request
dependency.The path to upgrade was described in request/request#3142
This client is linked from Officially-supported Kubernetes client libraries page and as such will be widely used by developers who unknowingly will introduce vulnerability.
request
brings in a dependency chain withjson-schema
with a critical vulnerability reported:** Client Version **
0.16.3
To Reproduce
yarn init
yarn add @kubernetes/client-node
yarn why json-schema -R
Expected behavior
No dependency on vulnerable
json-schema
version< 0.4.0
Environment (please complete the following information):
Any
Additional context
Github advisory entry for json-schema:
CVE-2021-3918 (GHSA-896r-f27r-55mw)
The text was updated successfully, but these errors were encountered: