Skip to content

fix: rebuild with patched packages - #14

Merged
ChiragAgg5k merged 1 commit into
appwrite:masterfrom
ChiragAgg5k:fix/image-cves
Nov 11, 2026
Merged

ChiragAgg5k merged 1 commit into
appwrite:masterfrom
ChiragAgg5k:fix/image-cves

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Runs apt-get upgrade -y in the runtime stage so the image picks up Debian 13 security updates that the pinned debian:trixie-slim digest does not include yet. 0.3.2 already fixed 13 of the 21 findings in 0.3.1. This change fixes the other 8.

Package 0.3.2 Patched
apt / libapt-pkg7.0 3.0.3 3.0.4
zlib1g 1:1.3.dfsg+really1.3.1-1+b1 1:1.3.dfsg+really1.3.1-1+deb13u1
libpcre2-8-0 10.46-1~deb13u2 10.46-1~deb13u3
openssl / libssl3t64 / openssl-provider-legacy 3.5.7-1~deb13u2 3.5.7-1~deb13u3

Trivy (--severity HIGH,CRITICAL --ignore-unfixed, linux/amd64): appwrite/embedding:0.3.1 21, 0.3.2 8, local build of this branch 0.

A new release tag would let the Appwrite Helm chart pick these up.

Related: appwrite-labs/cloud#6671

Upgrade Debian packages in the runtime stage so apt, zlib1g, libpcre2 and openssl pick up trixie security fixes.
@appwrite

appwrite Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The package upgrade is applied before dependency installation and introduces no correctness issue.

The runtime image now upgrades the Debian packages from the configured repositories before installing its runtime dependencies. This allows builds to include security updates newer than the pinned base-image digest.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 1
File Change
Dockerfile Upgrade Debian runtime packages before installing the service's runtime dependencies.

Reviewed 964f76b · Details · Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit 1d7a757 into appwrite:master Nov 11, 2026
4 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the fix/image-cves branch November 11, 2026 15:52
@ChiragAgg5k ChiragAgg5k self-assigned this Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant