Repository navigation
chore(stack): pin postgres to 15.14.1.175 - #6721
supabase-cli-releaser[bot] wants to merge 1 commit into
Conversation
6cb3960 to
910c623
Compare
910c623 to
e13f849
Compare
e13f849 to
17225a5
Compare
| "15.14.1.173": | ||
| "ghcr.io/supabase/cli/postgres:15.14.1.173@sha256:b7d210fa3bca26568fa20448e3bec092bd4f8da6a5af5029597639d38e7d896e", | ||
| "15.14.1.175": | ||
| "ghcr.io/supabase/cli/postgres:15.14.1.175@sha256:9ec19a5869dca59a14fbf32d8acf38211c428b043e5252a27cbd274d6c8aedbb", |
There was a problem hiding this comment.
🟡 Severity: MEDIUM
This selected image is PostgreSQL 15.14, affected by CVE-2026-2003, CVE-2026-2004, CVE-2026-2005, and CVE-2026-2006. An untrusted database user/object creator can supply crafted inputs to server paths, reaching memory-disclosure or memory-corruption sinks and potentially executing code as the database OS account. Advisories
Helpful? Add 👍 / 👎
💡 Fix Suggestion
Suggestion: Upgrade the pinned PostgreSQL 15 image from version 15.14.1.175 to a version based on PostgreSQL 15.16 or later to remediate CVE-2026-2003, CVE-2026-2004, CVE-2026-2005, and CVE-2026-2006. Check the ghcr.io/supabase/cli/postgres registry (or the supabase/postgres GitHub releases) for the latest 15.x slim-services build that corresponds to PostgreSQL ≥ 15.16, retrieve its image digest (docker buildx imagetools inspect ghcr.io/supabase/cli/postgres:<new-tag>), then replace both the version key ("15.14.1.175") and the image reference (including the @sha256:… digest) in the additionalImages object on lines 78-80 of packages/stack/src/Artifacts.ts.
17225a5 to
86340a5
Compare
| "17.6.1.173", | ||
| "ghcr.io/supabase/cli/postgres:17.6.1.173@sha256:1581c433d71a48a81e356a3ed2d4aa5ecfc8fc0465ea98661da7a88023317dcf", | ||
| "17.9.0.028-orioledb", | ||
| "ghcr.io/supabase/cli/postgres:17.9.0.028-orioledb@sha256:42571258eecf5dcdc9c5b1a5d23f45c933cf63c946f7ecbe307cfeaf2a63497b", |
There was a problem hiding this comment.
🟡 Severity: MEDIUM
The selected image also supplies pg_dump, pg_dumpall, and psql; PostgreSQL’s advisories mark 17.x before 17.11 as affected by CVE-2026-19385 and CVE-2026-18408. A database object creator or malicious dump reaches these clients through crafted metadata/commands and can execute code as the local CLI user. CVE-2026-19385 CVE-2026-18408
Helpful? Add 👍 / 👎
💡 Fix Suggestion
Suggestion: Upgrade the pinned PostgreSQL image from 17.9.0.028-orioledb to a version that includes PostgreSQL 17.11 or later, which contains the patches for CVE-2026-19385 and CVE-2026-18408. Specifically:
- Check
ghcr.io/supabase/cli/postgresfor the latest orioledb-flavored release that bundles PostgreSQL >= 17.11 (e.g., a tag in the form17.11.x.xxx-orioledb). - Update line 74 (
defaultVersion) from"17.9.0.028-orioledb"to the new version string. - Update line 75 (the image reference) to the new tag and its corresponding
@sha256:<digest>pin, ensuring the digest is fetched from the registry (e.g., viadocker manifest inspect ghcr.io/supabase/cli/postgres:<new-tag>) to maintain supply-chain integrity.
86340a5 to
4f2b90b
Compare
Pins
packages/stack/src/Artifacts.tsto thepostgres15.14.1.175slim-services release and its image digest.
Opened from the
mirror-slim-imagedispatch.artifactForderives thenative release tag, asset names, and URLs from service + version, so this
pin is the whole change.