Skip to content

v0.34.4

Choose a tag to compare

@github-actions github-actions released this 17 Nov 06:40
· 787 commits to main since this release

Security release, one advisory (live-updates-used-up-the-cache-connections, medium); the 0.33 line has the fix in 0.33.9. The web app's live-update connections now use a cache connection pool of their own, each used from one thread at a time. One account may keep at most 10 open, and each of its temporary credentials 10 of its own: an eleventh is refused with "Too many live connections for this account; close another tab." A web process serves at most 100 live-update connections that receive updates. A live-update connection checks every 5 seconds by the clock that its session still stands, and closes when its token ends. The release attaches a VEX document for the scanners' CVE-2026-119170 in Python 3.14.10. No stored data changes, so going back to 0.34.3 needs no restore. Upgrade from 0.34.3, or from 0.33.9 under the conditions of the step from 0.33.x into the 0.34 line (take a backup first). The notes of 0.33.0, 0.33.1 and 0.34.0 in upgrade.json are shortened; their release pages on GitHub keep the full text.

The advisory

Open live-update connections could use up the server's cache connections (medium, CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N)

Each browser tab of the web app keeps a live-update connection to the server (/ws/monitor). Up to 0.33.8 and 0.34.3, each of these held one connection from the pool the server uses for every request to its cache (Redis), for as long as it stayed open, and that pool allows at most 100 connections. With 100 live-update connections open, which one signed-in account could open in under a minute and a busy deployment reaches with about 100 open tabs, every other use of the cache failed until some of them closed. Separately, when a live-update connection closed, its cache connection could be handed back to the pool while a read on it was still running, so the next request to use it could fail or be refused once. 0.33.9 and 0.34.4 give the live-update connections a pool of their own, use each from one thread at a time, and let one account keep at most 10 open.

Impact: While the cache's connections were used up, password reset, invitations, self-signup, the user search of the share dialog, and public, note and upload links answered 503 (temporarily unavailable); an account with a second factor could not finish signing in, and actions that ask for the second factor again failed with an error; the general request rate limits did not apply; and live updates stopped. Signing in with a password alone, open sessions, files and signing out kept working, and no data could be read or changed by anyone who could not before. Service came back within about ten seconds of enough live-update connections closing.

What to do: Upgrade to 0.34.4 or later, or to 0.33.9 on the 0.33 line. Nothing needs doing after the upgrade.

Until you can upgrade: Restarting the web container ends the effect until the connections are opened again, and a reverse proxy in front of the vault can limit how many connections one client keeps open to /ws/monitor.

The upgrade paths and their conditions are in upgrade.json, attached to this release, and at https://vault.dockvault.io/upgrades.

Full Changelog: v0.34.3...v0.34.4