v3.1.3
Welcome to the v3.1.3 release of registry!
This is a stable release
This patch release fixes two security issues and improves blob transfers, tag listing, and garbage collection.
Please try out the release binaries and report any issues at https://github.com/distribution/distribution/issues
Security Fixes
- Pull-through caches now require an HTTPS upstream for Bearer authentication. The token service must use the upstream's hostname and effective port, including for anonymous pulls. If you run a separate token service, expose it under the upstream's HTTPS origin and update the Bearer challenge URL before upgrading. Docker Hub's token service remains supported. GHSA-gc9g-7q8j-mr8f
- The registry now reads blob mount parameters from the URL query. This prevents resource exhaustion from parsing request bodies before authorization. GHSA-4w35-5628-h8rf
Notable Changes
- Pull-through caches can forward range requests for uncached blobs to the upstream. Set
proxy.rangepassthroughtotrueto enable it. These responses do not populate the cache (#5044). - The filesystem driver can use
sendfilefor blob downloads, supports a configurablewritebuffersize, and fixes uploads on Windows (#5052, #5053, #5012). …