0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Next.js の「Vulnerable version detected」警告が出た時の対処法

0
Posted at

Next.js プロジェクトをvercelにデプロイした際に出たエラーです。

Vulnerable version of Next.js detected, please update immediately.

やったこと

npm install next@latest react@latest react-dom@latest

この警告は、

現在使用している Next.js のバージョンに既知の脆弱性がある
セキュリティリスクがあるため 早急なアップデートが推奨されている
という意味です。

Vulnerableという単語がパッと分からなかったのですが、「脆弱性」という意味です。
今後もいっぱいお目にかかりそう。

Vercel、npm、GitHub Advisory などで
公式に報告されている脆弱性が対象になっています。

👉 Errorでvercel上でデプロイができなかったので無視はできなそうです。

今回は個人開発でしたが
定期的に npm outdated を確認する必要があるのかもしれないですね。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?