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

node-fetch dependency is outdated #33556

Closed
aquapi opened this issue Jan 22, 2022 · 6 comments
Closed

node-fetch dependency is outdated #33556

aquapi opened this issue Jan 22, 2022 · 6 comments
Labels
bug Issue was opened via the bug report template.

Comments

@aquapi
Copy link

aquapi commented Jan 22, 2022

Run next info (available from version 12.0.8 and up)

# npm audit report

node-fetch  <3.1.1
Severity: high
node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor - https://github.com/advisories/GHSA-r683-j2x4-v87g
fix available via `npm audit fix --force`
Will install next@10.0.1, which is a breaking change

This is what I receive from NPM after installing Next.js and run npm audit

What version of Next.js are you using?

12.0.8

What version of Node.js are you using?

17.4.0

What browser are you using?

Edge

What operating system are you using?

Windows

How are you deploying your application?

Other platform

Describe the Bug

2 high severity vulnerabilities

Expected Behavior

No severity vulnerability

To Reproduce

npm install next

@aquapi aquapi added the bug Issue was opened via the bug report template. label Jan 22, 2022
@Mitsunee
Copy link

Another vulnerability could possibly happen for nanoid (dependency of postcss, which is stuck at 8.2.15 even if I try to add it as a direct dependency of my project)

@aldabil21
Copy link

Probably soon in stable. Merged in canary #33466

@Seijinx
Copy link

Seijinx commented Jan 22, 2022

Probably soon in stable. Merged in canary #33466

They updated from 2.6.1 to 2.6.7 which is still considered a vulnerability at this point.

@NigelGreenway
Copy link

Here is the advisory with more information.

GHSA-r683-j2x4-v87g

@balazsorban44
Copy link
Member

#33556 (comment) is the correct answer. 2.6.7 included the same patch. See https://github.com/node-fetch/node-fetch/releases/tag/v2.6.7

@github-actions
Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

6 participants