← 戻る
CVE-2024-12745
redshift-connector に SQLインジェクション (CVE-2024-12745)
概要
redshift-connector に SQLインジェクション (CVE-2024-12745) が存在。悪用されるとシステム全体を乗っ取られる可能性があります。対策: `2.1.5` 以上に更新。
AI要約 snake-internal / snake-material-v2
redshift-connector という製品で、CVE-2024-12745 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア ?/10 です。
対策: redshift-connector を **2.1.5** 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「redshift-connector CVE-2024-12745」を検索してください。
CVE-2024-12745 (redshift-connector) — CWE-89 /
攻撃ベクター: ネットワーク経由 (リモート攻撃可)
修正バージョン: `2.1.5` (即時適用推奨)
暫定回避: Use the previous version of the Amazon Redshift Python Connector, version 2.1.3.
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
❓ 何が問題か
redshift-connector に **SQLインジェクション** (CWE-89) があります。
📍 影響範囲
redshift-connector のうち 。
🔥 重要度
重要度: ?。悪用されるとシステム全体を乗っ取られる可能性があります
🔧 修正方法
**2.1.5** に更新してください。
🛡️ 暫定回避
暫定回避: Use the previous version of the Amazon Redshift Python Connector, version 2.1.3.
🔍 検知方法
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション (7段階)
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'redshift-connector' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `redshift-connector` を grep し、稼働しているサービス・バージョンを把握する。
-
5暫定回避策の適用 mitigate
Use the previous version of the Amazon Redshift Python Connector, version 2.1.3.パッチが適用されるまでの応急処置として、Use the previous version of the Amazon Redshift Python Connector, version 2.1.3. を実施。回避策の副作用 (機能低下) を確認した上で。
-
6パッチ適用 patch
Upgrade redshift-connector to 2.1.5ステージング環境で 2.1.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
影響パッケージ
PyPI
redshift-connector
[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.4"},{"fixed":"2.1.5"}]}]
参照URL
- advisory https://nvd.nist.gov/vuln/detail/CVE-2024-12745
- advisory https://github.com/advisories/GHSA-8gc2-vq6m-rwjw
- package https://github.com/aws/amazon-redshift-python-driver
- package https://pypi.org/project/redshift-connector
- web https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-8gc2-vq6m-rwjw
- web https://aws.amazon.com/security/security-bulletins/AWS-2024-015
- web https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.5