RUSTSEC-2026-0178: Panic on a `DataRow` with fewer fields than columns allows denial of service
還沒有人認領這個 Issue。
評估
研究方向
從 graph-node 的 tokio-postgres 0.7.15 相依性開始,接著閱讀連結的上游提交以及 RUSTSEC-2026-0178 公告。確認相依性如何解析,並將其更新至至少 0.7.18 的修補版本;完成的條件是受影響的相依性不再被選取,且相關檢查通過。
由索引模型根據 Issue 內容生成。
描述
Panic on a
DataRowwith fewer fields than columns allows denial of service
| Details | |
|---|---|
| Package | tokio-postgres |
| Version | 0.7.15 |
| URL | https://github.com/rust-postgres/rust-postgres/commit/7a00ffa9ad4d951ec0a4564b52f1780fa9d353c1 |
| Date | 2026-06-12 |
| Patched versions | >=0.7.18 |
| Unaffected versions | <0.4.0 |
A malicious or compromised server can send a row containing fewer fields than
its row description declares columns. Reading one of the missing columns then
panics with an out-of-bounds index, aborting the calling task. This affects even
the otherwise non-panicking try_get, and both Row and SimpleQueryRow.
Applications that connect only to a trusted database are not exposed; the risk
applies to clients that may connect to untrusted or user-supplied servers, or
whose connection can be intercepted by a man-in-the-middle.
See advisory page for additional details.
- 主要語言
- Rust
- 星號
- 3.2k
- 分支
- 1.1k
- 平均合併
- 4 天 1 小時
- 30 天內合併 PR
- 1
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
graphprotocol/graph-node 的其他 Issue
-
current: include emits an all-null bucket for dimensionless aggregations, nulling the whole response 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
graphprotocol/graph-node#6719 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
graphprotocol/graph-node#6673 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
graphprotocol/graph-node#6650 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 48/100
graphprotocol/graph-node#6722 ·
-
難度 3/5 1-2 天 新手友好度 68/100
graphprotocol/graph-node#6721 ·
查看 graphprotocol/graph-node 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
難度 2/5 1-3 小時 新手友好度 84/100
-
難度 1/5 1 小時以內 新手友好度 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
難度 2/5 1-3 小時 新手友好度 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
難度 2/5 1-3 小時 新手友好度 68/100