Skip to content

security(sub): zero High CVEs plus verified legacy/modern update rollback on AMD64 and ARM64 - #20

Draft
TriplexCorp wants to merge 69 commits into
mainfrom
security/sub-container-image-remediation-20261116
Draft

TriplexCorp wants to merge 69 commits into
mainfrom
security/sub-container-image-remediation-20261116

Conversation

@TriplexCorp

@TriplexCorp TriplexCorp commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Sub release candidate — multi-arch CVE gate and both update generations verified

HEAD e55657269551825001a0f4c9f27d8cafaf3b3f06 — fully synchronized with main (0 behind), VERSION bumped from 0.4.3 to 0.4.4 for the attested release candidate. Final CI matrix running; no production deployment authorized.

Final successful CI evidence

  • Gateway CI 44012539611: SUCCESS (signed installer, OIDC policy, manager, limiter, rollback, bootstrap and shell checks).
  • Exact deployable-image security + real-Docker rollback 44012539607: SUCCESS AMD64 and ARM64. Both builds derived from signed installer's exact Caddy/Python Dockerfiles, validated Caddy configuration and real Unix limiter/spoofed peer flood behavior.
  • 18/18 original HIGH advisories eliminated; 0 HIGH / 0 CRITICAL in the exact runtime-image digests on BOTH architectures, without ignores. Residual per architecture: Caddy 2 MEDIUM + 1 UNKNOWN, limiter 6 MEDIUM + 1 LOW. JSON evidence retained.
  • PASS AMD64 + ARM64: modern manager rollback preserves exact old Docker image IDs, forces recreation of real original containers, and restores original configuration.
  • PASS AMD64 + ARM64: FIRST upgrade with old manager. New installer gives each attested 40-hex source revision separate immutable local image names and reuses existing image IDs for identical revisions. The installer itself snapshots the old Compose, systemd unit, VERSION, manager, Ed25519 identity and private settings before any file mutation, verifies old images exist, and restores the original files and both real running containers on a forced installer error. Legacy-manager test verifies original secret file permissions, previous image identities, exact Compose and manager data, and removal of temporary private backups.
  • PASS AMD64 + ARM64: local real-TLS rollback smoke check. Legacy Caddy with an ephemeral internal-CA HTTPS certificate answers subscriber and portal endpoints both before a simulated failed upgrade and after restoring previous Compose/files/images. Docker-managed disposable volumes are cleaned safely, without touching live servers. This is not external DNS/ACME proof.
  • Trusted keyless OIDC release publisher depends on the two-architecture image CVE gate via needs: runtime-image-security; no offline private key, public image tags, or security bypass.

Final integration work (17 Nov 2026)

Main branch historical failure, unrelated to PR head

  • Existing main commit 17be0aab84ec04412ef490fcaa0953181b3e4262 has a red publisher run 43826670750: signature was published and verified with GITHUB_TOKEN, then anonymous clean-VPS verification received HTTP 403: rate limit exceeded from GitHub's public attestation endpoint. Fail-closed behavior is intentional; public anonymous fetch availability must be revalidated in release acceptance. Do not interpret the red main check as a failing PR security(sub): zero High CVEs plus verified legacy/modern update rollback on AMD64 and ARM64 #20 check.

Remaining — external production-like acceptance only

  1. Disposable clean Ubuntu VPS, with a fresh Sub domain/DNS/ACME HTTPS certificate, real short Subscription Studio bootstrap, Ed25519 enrollment and anonymous attestation verification; no production Sub VPS may be used.
  2. Actual old installed Sub manager → new attested release and forced failure after container recreation: verify old subscriber URL/portal stays available and real HTTPS is reestablished after rollback; require IPv4 and IPv6 spoofed peer tests.
  3. Confirm first main OIDC publication + real Studio approved immutable source pin/manager update ordering when a controlled release is authorized. The signed source cannot be publicly attested from this PR head because release signer correctly operates on main only.
  4. Review remaining MEDIUM/LOW/UNKNOWN scanner findings separately. No known HIGH/CRITICAL remaining in tested images.

No live VPS touched. ProjectHimera excluded. Do not confuse green sandbox Docker CI with successful ACME or full real VPS upgrade.

@TriplexCorp TriplexCorp changed the title security(sub): version runtime images and gate actual deployed image CVEs security(sub): rebuild patched runtime images — 17/18 High advisories removed in CI Nov 16, 2026
@TriplexCorp TriplexCorp changed the title security(sub): eliminate 18/18 High CVEs and gate signed releases on multi-arch verification security(sub): zero High CVEs plus verified legacy/modern update rollback on AMD64 and ARM64 Nov 17, 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