fix(#363): Update OpenBao image to fix CRITICAL CVE-2025-68121 + 4 HIGH CVEs

Pin OpenBao base image from unpinned :2 tag to :2.5.0 (latest stable,
released 2026-02-04) in both the Dockerfile and the dev docker-compose.

CVEs resolved:
- CVE-2025-68121 (CRITICAL): Go stdlib crypto/tls session resumption
- CVE-2024-8185 (HIGH): DoS via Raft join requests
- CVE-2024-9180 (HIGH): Root namespace privilege escalation
- CVE-2025-59043 (HIGH): DoS via malicious JSON
- CVE-2025-64761 (HIGH): Identity group root escalation

All fixed in OpenBao >= 2.4.4; v2.5.0 includes all patches plus new
features (horizontal read scalability, OCI plugin distribution).

Files changed:
- docker/openbao/Dockerfile: FROM tag 2 -> 2.5.0
- docker/docker-compose.yml: openbao + openbao-init image tags 2 -> 2.5.0

The production/swarm compose files use the custom-built
git.mosaicstack.dev/mosaic/stack-openbao image which is built FROM
this Dockerfile, so they inherit the fix on next CI build.

Fixes #363
This commit is contained in:
Jason Woltje
2026-02-12 12:36:08 -06:00
parent 5af32c6d47
commit dce975bf4e
2 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ services:
- mosaic-network - mosaic-network
openbao: openbao:
image: quay.io/openbao/openbao:2 image: quay.io/openbao/openbao:2.5.0
container_name: mosaic-openbao container_name: mosaic-openbao
restart: unless-stopped restart: unless-stopped
user: root user: root
@@ -106,7 +106,7 @@ services:
com.mosaic.description: "OpenBao secrets management" com.mosaic.description: "OpenBao secrets management"
openbao-init: openbao-init:
image: quay.io/openbao/openbao:2 image: quay.io/openbao/openbao:2.5.0
container_name: mosaic-openbao-init container_name: mosaic-openbao-init
restart: unless-stopped restart: unless-stopped
user: root user: root

View File

@@ -1,4 +1,4 @@
FROM quay.io/openbao/openbao:2 FROM quay.io/openbao/openbao:2.5.0
LABEL maintainer="Mosaic Stack <dev@mosaic.local>" LABEL maintainer="Mosaic Stack <dev@mosaic.local>"
LABEL description="OpenBao secrets management for Mosaic Stack" LABEL description="OpenBao secrets management for Mosaic Stack"