-
Notifications
You must be signed in to change notification settings - Fork 762
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
Remove dependency on deprecated request
package
#2995
Comments
Can you help us understand how this vulnerability is actually affecting this extension? That will help us triage & prioritize this issue. |
Here are the attack types listed on the page above, based on how the library is currently being used in the extension none of these seem particularly likely.
However wanted to document this as it shows up on a security scan and using a newer library that can be kept updated would help minimize noise for these types of issues. |
Thanks for investigating the risk. |
Change https://go.dev/cl/551115 mentions this issue: |
What version of Go, VS Code & VS Code Go extension are you using?
Current version on
master
Share the Go related settings you have added/edited
N/A
Describe the bug
The extension has a dependency on
web-request
, which has not been updated in 7 years, and depends on therequest
package which was deprecated 4 years ago.Request depends on an outdated version of the
tough-cookie
package which flags the following vulnerability:Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.
. Since request is deprecated, this creates challenges in upgrading this.Steps to reproduce the behavior:
Ran a security report on the extension using FOSSA
Screenshots or recordings
https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873
The text was updated successfully, but these errors were encountered: