Repository navigation
fix(1.9.x): remove compromised eMudhra CA trust - #14718
Conversation
|
Review complete. No issues found — approved ✅. This PR updates base image references in
Reviewed commit: a3f240b |
🟢 Tier S · Ready to mergeThe Dockerfile refreshes Alpine CA certificates in the Composer and shared runtime stages, preserving the existing base-image pin. The Composer dependency constraint and lockfile also upgrade Latest changes: The newest commits update the
📂 Walkthrough · 3
Reviewed the commits since |
✨ Benchmark resultsComparing 1.9.x (before) to fix/1.9.x-emudhra-ca-trust (after). Before
After
Delta
Top API waits
|
What does this PR do?
Refresh the CA trust store on
1.9.xafter the eMudhra certificate compromise. Both the Composer dependency-download stage and the shared runtime stage requireca-certificatesandca-certificates-bundleat20261020-r0or newer, then regenerate the certificate store withupdate-ca-certificates.Keep the existing
appwrite/base:1.4.3runtime pin for this maintenance branch. Production and development, includingDEBUG=true, inherit the trust update. TLS verification stays enabled. This prepares a fix for a later patch release; it does not bump the Appwrite version.The CI security audit also exposed existing SVG sanitizer advisories on this branch. Update
enshrined/svg-sanitizefrom0.22.0to1.1.1(constraint1.1.*); no other locked dependencies change.Test Plan
Validated locally on arm64 at
a3f240b86fb148e7b8726ffe7ce12e529d9343d7:https://dv-g3b-emudhra.we-have-a-problem.com/through PHP cURL, OpenSSL streams, and Swoole with verification enabled.DEBUG=truedevelopment image, and Composer target, including the locked Composer dependencies. Both CA packages resolve to20261020-r0on the existing Alpine repositories.DEBUG=truedevelopment images, PHP cURL, OpenSSL streams, and Swoole accepthttps://example.com/and reject bothhttps://dv-g3b-emudhra.we-have-a-problem.com/andhttps://dv-g3b-aaa-emudhra.we-have-a-problem.com/with certificate verification failures.git diff --checkpass.Dependency follow-up validation:
composer audit --lockedreports no advisories;composer validate --no-check-publishpasses; the favicon sanitizer API smoke check preserves SVG paths, removes scripts, and rejects truncated input;tests/unit/Network/FetcherTest.phppasses (22 tests, 45 assertions). Full application E2E and amd64 validation have not been run locally.Related PRs and Issues
Checklist
Related: appwrite-labs/cloud#6671