Skip to content

Bump github.com/anacrolix/torrent from 1.61.0 to 1.63.0 - #31

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/anacrolix/torrent-1.63.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/anacrolix/torrent-1.63.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 21, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/anacrolix/torrent from 1.61.0 to 1.63.0.

Release notes

Sourced from github.com/anacrolix/torrent's releases.

v1.63.0

What's Changed

Full Changelog: anacrolix/torrent@v1.62.0...v1.63.0

v1.62.0

What's Changed

... (truncated)

Changelog

Sourced from github.com/anacrolix/torrent's changelog.

[v1.63.0] - 2026-11-17

Security and hardening release: more fixes for remote crashes and resource exhaustion from malicious peers, trackers and crafted torrents, HTTPS tracker certificate verification by default, safer handling of existing files in file storage, and faster peer message decoding. There are no breaking API changes, but see the behaviour changes below.

Security: fixes GHSA-c5j3-3rp9-c4rv (ut_holepunch rendezvous from a peer without the extension crashes the client) and GHSA-6qq7-r4c9-cf54 (hybrid torrent whose v1 file lengths don't match its v2 file tree crashes the client), plus other crashes and resource exhaustion triggered by peers, trackers or crafted torrents (#1201, #1202, #1203, #1205, #1211, #1214). All users should upgrade.

Behaviour changes:

  • HTTPS tracker certificates are now verified. Set ClientConfig.TrackerInsecureSkipVerify (or tracker/http.NewClientOpts.InsecureSkipVerify, tracker.Announce.InsecureSkipVerify) for the old behaviour. HTTP tracker redirects are limited to 5, to the same host, and never from https to http (1db2ea2e)
  • File storage no longer truncates or replaces existing files it didn't create. Opening a torrent fails if an existing file path goes through a symlink out of the torrent's directory (set NewFileClientOpts.FollowSymlinksOutOfTorrentDir to allow it), or if one file's path is another file's directory (#1204, 932850ce)
  • Accepted connections still handshaking are limited by ClientConfig.MaxPendingIncomingHandshakes (default 128) and MaxPendingIncomingHandshakesPerIp (default 8) (a69af407)
  • Peers that aren't on a local network can no longer direct us to dial loopback, private, link-local or multicast addresses through PEX or ut_holepunch (67ab086e)
  • UDP trackers share one socket per network instead of one per tracker URL (ce59c5d1)

Changes:

  • Don't crash when a peer that doesn't support ut_holepunch sends a rendezvous message (GHSA-c5j3-3rp9-c4rv, #1228, ffbaa65d). Thanks to @​Sahil-4555 for the report and fix
  • Don't panic hashing a hybrid torrent whose v1 lengths don't match its v2 file tree (GHSA-6qq7-r4c9-cf54, #1213, 66fcaadd)
  • Return errors instead of panicking on malformed tracker and web seed URLs, v1 file lengths, LPD announces, oversized piece lengths and zoned IPs (#1201, 0d708483)
  • Peer protocol state and resource fixes: stop reading from a peer while replies to it are backed up, bound big integers decoded by bencode, and fix connection accounting on HaveAll/HaveNone (#1205, 1014ccaf)
  • Limit PEX entries per message, bound metainfo source response sizes, bound the reserved-bytes expvar map, fix a 32-bit message length overflow, and drop peers sending v2 piece hashes that don't match the file's root (#1203)
  • Don't panic on a zero piece length that carries piece hashes (#1214, fec82c49)
  • fs: Don't panic traversing a torrent whose file is also a directory (#1211, 0c4dbcfa)
  • Don't hold the WebSocket tracker client lock while writing, so a stalled tracker can't block other announces, and close WebSocket trackers that stop answering pings (#1202, f87d9e5c, #1206, 649e03dc)
  • Release WebSocket tracker registrations when trackers are removed (#1207, de9aa56e)

... (truncated)

Commits
  • 876900f Prepare v1.63.0: CHANGELOG and missinggo v2.12.0 (#1229)
  • ffbaa65 Fix remote crash from ut_holepunch rendezvous by peers without the extension ...
  • 6a29c85 Wait for the specific status event in tracker callback tests
  • 441075d fs: use piece storage in TestIOFSDirFileConflict
  • 1db2ea2 Verify HTTPS tracker certificates and limit tracker redirects
  • f87d9e5 Don't hold the WebSocket tracker client lock while writing
  • ce59c5d Share UDP tracker sockets and ignore repeated responses
  • e54e7f0 Treat v2 piece hashes with the wrong root as a protocol error
  • 67ab086 Limit PEX entries per message and local dial targets from remote peers
  • f6c4d81 Bound the reserved-bytes expvar map and fix a 32-bit length overflow
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/anacrolix/torrent](https://github.com/anacrolix/torrent) from 1.61.0 to 1.63.0.
- [Release notes](https://github.com/anacrolix/torrent/releases)
- [Changelog](https://github.com/anacrolix/torrent/blob/master/CHANGELOG.md)
- [Commits](anacrolix/torrent@v1.61.0...v1.63.0)

---
updated-dependencies:
- dependency-name: github.com/anacrolix/torrent
  dependency-version: 1.63.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants