Skip to content

Dockmesh v0.5.3

Choose a tag to compare

@github-actions github-actions released this 12 Nov 08:39
· 185 commits to main since this release
7aa8a33

This is a security release. It fixes 2 vulnerabilities; update as soon as possible.

Dockmesh 0.5.3 is a security patch release. The auto-scaler, manual scale, rolling updates and image updates now check a stack's files like a deploy does, and the meta and override files count as stack files, so a change a container makes to its own stack directory needs a confirmation before Dockmesh deploys it. The setup wizard no longer reopens on an installation that was already set up. Upgrading is recommended; read the upgrade notes.

How to upgrade

curl -fsSL https://get.dockmesh.dev | sudo bash && sudo systemctl restart dockmesh

If you run Dockmesh in a container you built yourself, rebuild it from the v0.5.3 tag and recreate the container. Then check that the version shown in the UI or printed by dockmesh version is 0.5.3; if it is not, the old version is still running. Finally update the agents from the Hosts page.

After upgrading, check

  • Admins: If a container can write its own stack directory, review its .dockmesh.meta.json and compose.<env>.yaml after the upgrade: on the first start they are accepted as they are on disk, like compose.yaml and .env were when they were first checked. No other step is needed. If a container changes one of these files later, the stack shows Modified outside Dockmesh, the next deploy, scale, rolling update or image update asks for a confirmation, and the auto-scaler pauses the stack with a notice until someone confirms the change. A stack with a default environment override that wasn't deployed by hand since v0.5.0 pauses auto-scaling until it is deployed once
  • Admins: An installation that has user accounts but none with an admin role no longer opens the setup wizard. The server log and a notice show how to get access back: run sudo dockmesh admin create --username <name> --role admin on the server and restart the service

Security

  • GHSA-h9m2-3vjx-c8cq (high): The auto-scaler, manual scale, rolling updates and image updates check the stack files like a deploy does, and .dockmesh.meta.json and compose.<env>.yaml count as stack files. A change that a container makes to its own stack directory now needs a confirmation before Dockmesh creates containers from it. Affects v0.5.2 and earlier
  • GHSA-6pmw-gcfw-xc5x (high): The setup wizard only opens on an installation without any user account, so an installation with accounts but no admin assignment no longer reopens it without authentication after a restart. The wizard's setup and restore check this again right before they change anything, and removing the last admin is refused also when every admin holds the role only on some hosts or stacks. Affects v0.4.0 to v0.5.2

Details

All changes and the full upgrade notes: CHANGELOG.md, 0.5.3