深刻度 高
Nuxt vulnerable to remote code execution via the browser when running the test locally
nuxt(ライブラリ)の脆弱性です。深刻度は「高」、CVSS は 8.8です。修正版は 3.12.4 です。
- 対象
- nuxt(ライブラリ)
- CVE 番号
- CVE-2024-34344
- 深刻度
- 高CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- 影響を受けるバージョン
- 3.4.0 以上、3.12.4 未満
- 修正版
- 3.12.4
- 公開日
- 情報の更新日
- 出典
- OSV.dev(GitHub Advisory を含む OSS 脆弱性データベース)
どのような脆弱性ですか
日本語解説は確認中です。
### Summary Due to the insufficient validation of the `path` parameter in the NuxtTestComponentWrapper, an attacker can execute arbitrary JavaScript on the server side, which allows them to execute arbitrary commands. ### Details While running the test, a special component named `NuxtTestComponentW…(原文の抜粋です。全文は下の参考情報から確認できます)
どう対応すればよいですか
nuxt を、修正版の 3.12.4 以降に更新してください。
更新の前に、サイトのバックアップを取っておくと、不具合が出たときに戻せます。
参考情報
- https://github.com/nuxt/nuxt/security/advisories/GHSA-v784-fjjh-f8r4(新しいタブで開きます)
- https://nvd.nist.gov/vuln/detail/CVE-2024-34344(新しいタブで開きます)
- https://github.com/nuxt/nuxt(新しいタブで開きます)
- https://github.com/nuxt/nuxt/blob/4779f5906fa4d3c784c2e2d6fe5a5c5f181faaec/packages/nuxt/src/app/components/test-component-wrapper.ts#L15-L19(新しいタブで開きます)
- https://github.com/nuxt/nuxt/blob/4779f5906fa4d3c784c2e2d6fe5a5c5f181faaec/packages/nuxt/src/app/components/test-component-wrapper.ts#L9-L27(新しいタブで開きます)
nuxt のほかの脆弱性
あなたのサイトは影響を受けていますか
Cyber Shield Guard は、サイトで使っているプラグインとテーマを脆弱性データベースと毎日突き合わせ、該当があれば通知します。登録したサイトが対象かどうかを確かめられます。