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

gitpod: bump node-fetch version in extensions #305

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

Pothulapati
Copy link

@Pothulapati Pothulapati commented Feb 4, 2022

Related to gitpod-io/gitpod#7360

Currently, When the server has a root cert cross-signed by the
expired DST ROOT CA X3. There's a possiblity of the client having
an older version of electron in their code that causes the cert
expiry failure.

While, asking users to update their vs code should be our first
suggestion, In some cases using the latest version of node-fetch
also fixed the issue (not exactly sure why). This PR bumps the
node-fetch dependency to the one that the code-server uses.

Signed-off-by: Tarun Pothulapati tarun@gitpod.io

Copy link
Member

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this also addresses CVE-2022-0235 (🎉 ). I want to wait until @jeanp413 is ok with merging, though, because I think he might be working on something there.

Related to gitpod-io/gitpod#7360

Currently, When the server has a root cert cross-signed by the
expired `DST ROOT CA X3`. There's a possiblity of the client having
an older version of `electron` in their code that causes the cert
expiry failure.

While, asking users to update their vs code should be our first
suggestion, In some cases using the latest version of `node-fetch`
also fixed the issue (not exactly sure why). This PR bumps the
`node-fetch` dependency to the one that the `code-server` uses.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
@akosyakov akosyakov merged commit 3cba1d3 into gp-code/main Feb 7, 2022
@akosyakov
Copy link
Member

published, please try

@akosyakov akosyakov deleted the tarun/node-fetch-bump branch February 7, 2022 08:34
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 this pull request may close these issues.

3 participants