WarehousePGのgpfdistに脆弱性、細工したリクエストでサービス停止のおそれ
Summary
WarehousePGのgpfdistには、範囲外への書き込みの脆弱性が見つかりました。外部からHTTPリクエストを1回送るだけで、gpfdistがクラッシュし、外部テーブルの読み込みと書き出しが止まるおそれがあります。6.27.1から6.27.7、7.2.1から7.6.1が対象で、6.27.8と7.6.2で修正されています。gpfdistは通常クラスタの内部ネットワークからだけ届く設計ですが、修正版への更新を急いでください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
WarehousePGのgpfdistには、範囲外への書き込みの脆弱性が見つかりました。外部からHTTPリクエストを1回送るだけで、gpfdistがクラッシュし、外部テーブルの読み込みと書き出しが止まるおそれがあります。6.27.1から6.27.7、7.2.1から7.6.1が対象で、6.27.8と7.6.2で修正されています。gpfdistは通常クラスタの内部ネットワークからだけ届く設計ですが、修正版への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| EnterpriseDBWarehousePG |
≥ 6.27.1, < 6.27.8→ 6.27.8 ≥ 7.2.1, < 7.6.2→ 7.6.2 |
6.27.8 7.6.2 |
Original description The description as published by the source.
WarehousePG (WHPG) 6.27.1 through 6.27.7 and 7.2.1 through 7.6.1 are affected by an out-of-bounds write vulnerability (CWE-787) in gpfdist, the file server used to load and unload external tables. When gpfdist attaches a request to a session, it sizes two internal arrays from the client-supplied X-GP-SEGMENT-COUNT header and writes to them at the index given by the X-GP-SEGMENT-ID header, without checking that the index is non-negative and smaller than the count (CWE-129). gpfdist does not authenticate callers unless gpfdists is used with client certificate verification, so an attacker who can reach the gpfdist port can crash it with a single HTTP request, failing every external table load or unload that uses that gpfdist instance. gpfdist is normally reachable only from the cluster's internal network.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory enterprisedb.com
- patch github.com
- patch github.com
- web nvd.nist.gov
- web enterprisedb.com
- web github.com