Files
cozystack/packages/apps/postgres/templates
Andrey Kolkov eaecde82ad fix(postgres): move tenant PostgreSQL to patched standard-trixie images
The chart pinned bare image tags, which are the system variant on Debian
bullseye. Upstream stopped building that variant, so the minors that fix
CVE-2026-116331 (18.7, 17.12, 16.16, 15.20, 14.25) are published for
bookworm and trixie only. The CVE is a type confusion in the min/max
aggregate optimisation that lets a role able to create objects run code
as the operating system user of the server, and tenants hold such roles.

Pin the patched minors on standard-trixie. The standard variant, because
backups go through the barman-cloud plugin and need none of the barman
binaries the system variant adds. trixie, because main is on it and
release-1.7 moves to it with the backport batch that carries this
change, so a 1.6 cluster that upgrades to such a 1.7 release does not
move its Debian release a second time. PostgreSQL 13 has no patched
release: it keeps 13.22 and moves to trixie with the rest.

For a running cluster this changes the Debian release under the data
directory. The init Job rebuilds the indexes that depend on a collation
whose library version changed.

release-1.6 has no postgis flavor, so its version map, its unit test and
the flavor guard are not carried over, and postgres.imageName has only
the postgresql branch.

(cherry picked from commit b40be51a6b)
Assisted-By: LLM
Signed-off-by: Andrey Kolkov <androndo@gmail.com>
2026-12-01 12:54:21 +07:00
..
2025-06-11 22:48:09 +03:00
2024-02-08 12:04:32 +01:00
2024-02-08 12:04:32 +01:00