Repository navigation
v1.58.1
Two open doors closed: update now
This update closes two holes in the web app every install serves, and both are open today. Any member of your workspace could make the server run code of their choosing by uploading a crafted picture, and anyone on the internet could make the web app fetch addresses inside your install's network. Update now. It also brings the server and the document server up to date with their own security fixes, moves Redis and Traefik to their newest patch releases, and fixes Esc when a notice is showing. It doesn't fix everything the audit found, and it says below what is left.
- Pictures can't run code on your server. The web app shrinks every picture people attach before showing it, and the image library it used could be made to run code by a crafted picture, which any member can upload. Next.js 16.3.8 and its image library close it.
- Nobody outside can reach inside your network through the web app. A crafted request to the web app's own server could make it fetch addresses inside your install's network, without signing in. Next.js 16.3.8 closes it, and the picture shrinker can no longer be made to stall the server.
- Pasting is safe again. A paste of crafted text into any editor (docs, chat, tasks) could run script in the page; the editor's newest release closes it. The web app's request library, its HTML cleaner, its diagram drawing, its Word preview and its Markdown reader take their fixes too.
- The server on Go 1.26. The server now builds with Go 1.26, the release your install already ran, and takes the network library's five HTTP/2 fixes, gRPC's fixes for oversized messages, and OpenTelemetry's.
- The document server. The live-editing server takes its connection library's fix for a flood of data sent before anyone signs in.
- Redis 8.6.7 and Traefik v3.7.14. Redis's newest patch fixes three ways to run code through a Redis connection; your install keeps Redis on its own network behind its password, so this is depth, not an open door. Traefik's fixes concern NTLM and Kerberos sign-in to backends, the Kubernetes Ingress-NGINX provider and builds made with Go 1.27, none of which an install uses. v3.7.15 adds only fixes for an experimental proxy and that provider, so this update takes v3.7.14, which has been out for over a week.
Fixes
- With a notice showing (Saved a version, Link copied), Esc closed the notice and left the dialog, sheet or menu it came up in open; Esc now closes the dialog, sheet or menu, and a notice with the focus still closes itself.
- One Esc could close two things at once, a notice and the right panel; it now closes one, the right panel first.
- On a narrow window, Esc no longer closed the right panel when it covered the page; it does again.
- Right after a start,
make verifycould say file storage failed when it was only a moment away from answering; the check now looks twice more within a second and a half before it says storage is down. - The document server's image installed whatever version of its package manager was newest on the day, so two installs a day apart could build it differently; it now always uses the same one.
- Updating could build the document server from an older file when a changed file kept its size; updates now rebuild from the files they install.
- A developer's log file was part of every install's download; it no longer is.
What this update doesn't fix
- Spreadsheet previews: the library that reads a shared .xlsx in the browser has two open advisories, a prototype pollution and a slow pattern, so a member who shares a crafted spreadsheet could affect the browser of whoever opens its preview. Its fixed releases aren't published where the app gets its libraries; a later update brings them.
- The editor's attribute handling has a moderate advisory that only its next major version fixes.
- Some advisories remain in libraries the app doesn't reach: test tools that never ship, and parts of libraries no code of ours calls.
- PostgreSQL 12, which every install runs, is past its end of life and gets no more fixes.
Before you update
No database migrations. Re-run the install command you installed with, then make update; it takes a backup first, rebuilds the server, the web app and the document server, and restarts Traefik and Redis, so the install is unavailable for a short while. Everyone stays signed in.
Update the web app with the server, as make update does. If you host the web app yourself, deploy this release's web app now: it carries the Next.js fixes. Anyone with OneCamp open in a browser should reload it once the update is done.
Building the server from source now needs Go 1.26.