| タイトル | pnpmにおけるデータの整合性検証不備に関する脆弱性 |
|---|---|
| 概要 | pnpmはパッケージマネージャーです。バージョン10.34.0および11.4.0より前のpnpmでは、tarball抽出ワーカーがlockfileのresolutionにintegrityフィールドが存在しない場合に整合性検証をスキップしていました。攻撃者がpnpm-lock.yamlを改ざんし、integrityフィールドを削除して参照されているレジストリURLが変更されたパッケージコンテンツを提供できる場合、pnpm install --frozen-lockfileは整合性エラーを発生させずに変更されたパッケージをインストールしてしまいます。npmのnpm ciはデフォルトで整合性を強制しますが、pnpmが検証を静かにスキップする動作はpnpmに固有のfail-open脆弱性となっています。この脆弱性はバージョン10.34.0および11.4.0で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月25日0:00 |
| 登録日 | 2026年6月30日11:19 |
| 最終更新日 | 2026年6月30日11:19 |
| CVSS3.0 : 重要 | |
| スコア | 8.1 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| pnpm |
| pnpm 10.34.0 未満 |
| pnpm 11.0.0 以上 11.4.0 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月30日] 掲載 |
2026年6月30日11:19 |
| 概要 | pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm's tarball extraction worker skips integrity verification when the integrity field is absent from the lockfile resolution. If an attacker can both modify pnpm-lock.yaml to remove the integrity: field and cause the referenced registry URL to serve altered package content, pnpm install --frozen-lockfile can install the altered package without an integrity error. npm's npm ci enforces integrity by default; pnpm's behavior of silently skipping verification is a pnpm-specific fail-open gap. This vulnerability is fixed in 10.34.0 and 11.4.0. |
|---|---|
| 公表日 | 2026年6月26日3:16 |
| 登録日 | 2026年6月27日4:29 |
| 最終更新日 | 2026年6月26日14:16 |