NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-1597
Summary

pgjdbc, the PostgreSQL JDBC Driver, allows attacker to inject SQL if using PreferQueryMode=SIMPLE. Note this is not the default. In the default mode there is no vulnerability. 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. By constructing a matching string payload, the attacker can inject SQL to alter the query,bypassing the protections that parameterized queries bring against SQL Injection attacks. Versions before 42.7.2, 42.6.1, 42.5.5, 42.4.4, 42.3.9, and 42.2.28 are affected.

Publication Date Feb. 19, 2024, 10:15 p.m.
Registration Date Feb. 20, 2024, 10 a.m.
Last Update Nov. 21, 2024, 5:50 p.m.
CVSS3.1 : CRITICAL
スコア 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:* 42.3.0 42.3.9
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:* 42.4.0 42.4.4
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:* 42.5.0 42.5.5
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:* 42.6.0 42.6.1
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:* 42.7.0 42.7.2
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:* 42.2.28
Configuration2 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PostgreSQL.org の PostgreSQL JDBC ドライバ等複数ベンダの製品における SQL インジェクションの脆弱性
Title PostgreSQL.org の PostgreSQL JDBC ドライバ等複数ベンダの製品における SQL インジェクションの脆弱性
Summary

PostgreSQL.org の PostgreSQL JDBC ドライバ等複数ベンダの製品には、SQL インジェクションの脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

参考情報を参照して適切な対策を実施してください。

Publication Date Feb. 19, 2024, midnight
Registration Date March 27, 2024, 10:42 a.m.
Last Update Dec. 19, 2024, 11:05 a.m.
Affected System
PostgreSQL.org
PostgreSQL JDBC ドライバ 42.2.28 未満
PostgreSQL JDBC ドライバ 42.3.0 以上 42.3.9 未満
PostgreSQL JDBC ドライバ 42.4.0 以上 42.4.4 未満
PostgreSQL JDBC ドライバ 42.5.0 以上 42.5.5 未満
PostgreSQL JDBC ドライバ 42.6.0 以上 42.6.1 未満
PostgreSQL JDBC ドライバ 42.7.0 以上 42.7.2 未満
日立
Hitachi Infrastructure Analytics Advisor (海外販売のみ)
Hitachi Ops Center Analyzer (海外販売のみ)
Hitachi Ops Center Analyzer viewpoint (海外販売のみ)
Hitachi Ops Center Viewpoint (国内販売のみ)
Fedora Project
Fedora 40
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2024年03月27日]
  掲載
March 27, 2024, 10:42 a.m.
2 [2024年12月19日]
  影響を受けるシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:日立 (hitachi-sec-2024-150) を追加
Dec. 19, 2024, 11:05 a.m.