Repository navigation
fix: bump base image to 2.2.9 for curl, docker-cli and libexpat CVEs - #15249
Conversation
|
Review complete. No issues found — approved ✅. This PR is a routine base-image version bump. It updates
Reviewed commit: f11f938 |
🟢 Tier S · Ready to merge
Updates the Docker build to use
📂 Walkthrough · 1
Reviewed |
Security rulesNo new WARNING or ERROR findings from security rules. 6 existing findings tracked in
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
appwrite/base:2.2.7 ships curl/libcurl 8.22.0 (CVE-2026-92392) and docker-cli 29.8.2 / docker-cli-compose 5.1.4 (CVE-2026-78669, CVE-2026-111943), all HIGH. 2.2.8 carries the fixed packages; a trivy scan of it reports none of them.
2.2.8 ships Swoole 6.2.4, which deletes the path named by a client-supplied Swoole-Upload-File multipart header even after tmpfiles is cleared (caught by SwooleRequestTest::testSpoofedUploadIsNeutralized). 2.2.9 holds Swoole at 6.2.3 and carries the same patched curl, docker-cli and libexpat.
f11f938 to
cfd3a1c
Compare
|
Moved to appwrite/base 2.2.9, which holds Swoole at 6.2.3 (appwrite/docker-base#135). Verified on the published image: Swoole 6.2.3, the spoofed-upload repro keeps the target file, and trivy reports no HIGH or CRITICAL findings. |
|
Review complete. No issues found — approved ✅. This change updates the
Reviewed commit: cfd3a1c |
Superseded by a newer Tenki approval on this pull request.
Backport of appwrite#15249 and appwrite#14956. 2.7.1 ships appwrite/base 2.2.7, which Trivy flags for perl, libexpat, curl, docker-cli, docker-cli-compose, rsync and golang.org/x/net (20 HIGH/CRITICAL). 2.2.9 still carries the perl, rsync and docker-cli findings; 2.2.10 scans clean.
Bumps
appwrite/basefrom 2.2.7 to 2.2.9 (and the matching-xdebugtag) to clear HIGH CVEs in the runtime image.trivy image --severity HIGH,CRITICAL:2.2.9 reports no HIGH or CRITICAL findings.
2.2.8 is skipped on purpose. It moved Swoole to 6.2.4, which unlinks the path named by a client-supplied
Swoole-Upload-Filemultipart part header even afterpackages/httpclears$request->tmpfiles;SwooleRequestTest::testSpoofedUploadIsNeutralizedfailed on this PR's first commit because of it. 2.2.9 (appwrite/docker-base#135) holds Swoole at 6.2.3, adds an image test for this case, and stops the dependency automation from selecting 6.2.4. On the published 2.2.9 image, Swoole reports 6.2.3 and a standalone repro keeps the target file.Related: appwrite-labs/cloud#6671