| Summary | pgx is a PostgreSQL driver and toolkit for Go. Prior to version 5.9.2, SQL injection can occur when the non-default simple protocol is used, a dollar quoted string literal is used in the SQL query, that string literal contains text that would be would be interpreted as a placeholder outside of a string literal, and the value of that placeholder is controllable by the attacker. This issue has been patched in version 5.9.2. |
|---|---|
| Publication Date | May 9, 2026, 2:16 a.m. |
| Registration Date | May 9, 2026, 4:15 a.m. |
| Last Update | May 14, 2026, 1:34 a.m. |
| Title | JackcのpgxにおけるSQL インジェクションの脆弱性 |
|---|---|
| Summary | pgxはGo言語向けのPostgreSQLドライバーおよびツールキットです。バージョン5.9.2以前では、非デフォルトのシンプルプロトコルが使用されており、SQLクエリ内でドル記法による文字列リテラルが使われていました。その文字列リテラル内に、文字列リテラル外でプレースホルダーとして解釈されるテキストが含まれており、そのプレースホルダーの値が攻撃者によって制御される場合にSQLインジェクションが発生する可能性がありました。この問題はバージョン5.9.2で修正されています。 |
| Possible impacts | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | May 8, 2026, midnight |
| Registration Date | May 25, 2026, 10:25 a.m. |
| Last Update | May 25, 2026, 10:25 a.m. |
| Jackc |
| pgx 5.9.2 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年05月25日] 掲載 |
May 25, 2026, 10:25 a.m. |