Description
anacrolix/torrent through 1.61.0 contains a memory exhaustion vulnerability in the tracker/http package that allows malicious trackers to crash clients by returning unbounded responses. Attackers controlling an HTTP tracker in a torrent file or magnet link can return huge or gzip-compressed announce or scrape responses that Client.Announce and Client.Scrape buffer without limits, exhausting process memory.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| anacrolix | torrent | ≤ 1.61.0 | — |
References
- https://github.com/anacrolix/torrent/pull/1143 issue-tracking patch
- https://github.com/anacrolix/torrent/commit/92ad51490479bb8b94720f964b1c67e5a1d68faa patch
- https://github.com/anacrolix/torrent/blob/v1.61.0/tracker/http/http.go#L114-L126 technical-description
- https://github.com/anacrolix/torrent product
- VulnCheck Advisory: anacrolix/torrent through 1.61.0 Memory Exhaustion via Unbounded HTTP Tracker Response third-party-advisory