← 戻る
CVE-2022-25647
high
CVSS 7.7
com.google.code.gson:gson に 安全でないデシリアライゼーション (CVE-2022-25647)
概要
com.google.code.gson:gson に 脆弱性 (CVE-2022-25647) が存在。データの不正な改ざんを許す可能性があります。対策: `2.8.9` 以上に更新。
AI要約 snake-internal / snake-material-v2
com.google.code.gson:gson という製品で、CVE-2022-25647 という番号がついた弱点 (脆弱性) が見つかりました。
データの不正な改ざんを許す可能性があります。重要度は CVSS スコア 7.7/10 です。
対策: com.google.code.gson:gson を **2.8.9** 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「com.google.code.gson:gson CVE-2022-25647」を検索してください。
CVE-2022-25647 (com.google.code.gson:gson) — CWE-502 / CVSS v3 7.7
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
修正バージョン: `2.8.9` (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
❓ 何が問題か
com.google.code.gson:gson に **安全でないデシリアライゼーション** (CWE-502) があります。
📍 影響範囲
com.google.code.gson:gson のうち 。
🔥 重要度
重要度: 重要 (CVSS 7.7/10)。データの不正な改ざんを許す可能性があります
🔧 修正方法
**2.8.9** に更新してください。
🛡️ 暫定回避
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
🔍 検知方法
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション (7段階)
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'com.google.code.gson:gson' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `com.google.code.gson:gson` を grep し、稼働しているサービス・バージョンを把握する。
-
6パッチ適用 patch
Upgrade com.google.code.gson:gson to 2.8.9ステージング環境で 2.8.9 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
影響パッケージ
maven
com.google.code.gson:gson
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.9"}]}]
参照URL
- advisory af854a3a-2127-422b-91ae-364da2661108
- advisory https://nvd.nist.gov/vuln/detail/CVE-2022-25647
- package https://github.com/google/gson
- web https://github.com/google/gson/pull/1991
- web https://github.com/google/gson/pull/1991/commits
- web https://lists.debian.org/debian-lts-announce/2022/05/msg00015.html
- web https://lists.debian.org/debian-lts-announce/2022/09/msg00009.html
- web https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327
- web https://www.debian.org/security/2022/dsa-5227
- web https://www.oracle.com/security-alerts/cpujul2022.html
- web https://security.netapp.com/advisory/ntap-20220901-0009
- web https://github.com/advisories/GHSA-4jrv-ppp4-jm57