algorand / algorand/go-algorand

Unlimited transaction decoding on transaction submission

オープン
#1,090 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Security
主要言語
Go
スター
1.4k
フォーク
537
平均マージ
1日 7時間
マージ済み PR(30日)
18

説明

### Subject of the issue
The `POST /v*/transactions` will currently decode transactions off of the wire until the client stops sending them. This is an easy DoS vector, since we'll just keep filling up memory until the client stops.

### Your environment
Still applies as of commit `a204c43c228baf1bb5c1854a236332b873fae477`

### Steps to reproduce
Submit an endless stream of transactions to the `/v*/transactions` endpoint.

### Expected behaviour
We should stop reading transactions after we determine there is no possibility the group could be valid.

### Actual behaviour
We will read them all.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。