CVE-2024-27289 | pgx SQL Injection via Line Comment Creation

pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.

公開: 2024-03-06 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2024-27289 は中リスク(51.3/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.85%、53 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2024-27289 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.59% 0.85% +0.26%
2 2025-12-05 0.18% 0.59% +0.41%
3 2025-11-21 0.18%

EPSS の全履歴 (全 12 件)

CVE-2024-27289 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
8.1 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
2.2 5.9 [email protected]

CVE-2024-27289 の弱点分類(列挙)

CVE-2024-27289 の GitHub Security Advisory

GHSA-m7wr-2xf7-cm9p · 深刻度: high · エコシステム: go — pgx SQL Injection via Line Comment Creation

CVE-2024-27289 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2024-27289 not yet assigned priority: Debian including 1 source packages (golang-github-jackc-pgx), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2024-27289
redhat medium https://access.redhat.com/security/cve/CVE-2024-27289
ubuntu medium CVE-2024-27289 medium priority: Ubuntu including 1 source packages (golang-github-jackc-pgx), 8 status rows across 8 suites (focal, jammy, mantic, noble, oracular, plucky, questing, upstream): needs-triage 4, ignored 3, DNE 1. https://ubuntu.com/security/CVE-2024-27289

CVE-2024-27289 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
jackc pgx < 4.18.2 cpe:2.3:a:jackc:pgx:*:*:*:*:*:go:*:*

CVE-2024-27289 の参考情報

cvelogic Threat Intelligence