|
| 1 | +# Issue #429: Deployer Image CVEs after Remediation Pass 1 |
| 2 | + |
| 3 | +**GitHub**: <https://github.com/torrust/torrust-tracker-deployer/issues/429> |
| 4 | +**Image**: `torrust/tracker-deployer:local` |
| 5 | +**Dockerfile**: `docker/deployer/Dockerfile` |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## Context |
| 10 | + |
| 11 | +After PR #436 removed `gnupg` from the runtime layer: |
| 12 | + |
| 13 | +| Pass | HIGH | CRITICAL | |
| 14 | +| ------------------ | ---- | -------- | |
| 15 | +| Before remediation | 49 | 1 | |
| 16 | +| After pass 1 | 44 | 1 | |
| 17 | + |
| 18 | +Remaining findings split into two areas: |
| 19 | + |
| 20 | +1. **Debian 13.4 (trixie) base packages** — HIGH, blocked on upstream patches |
| 21 | +2. **OpenTofu binary** — 2 HIGH + 1 CRITICAL, blocked on OpenTofu release |
| 22 | + |
| 23 | +## Decision |
| 24 | + |
| 25 | +**Re-scan and check OpenTofu release, then decide**: |
| 26 | + |
| 27 | +- If a newer OpenTofu release clears the CRITICAL: update the pinned version, |
| 28 | + rebuild, re-scan, update scan doc, close #429 |
| 29 | +- If Debian packages are now patched: `docker build --no-cache` will pick them up; |
| 30 | + re-scan, update scan doc, re-evaluate #429 |
| 31 | +- If nothing has changed: post comment documenting current state and accepted risk; |
| 32 | + leave open with revisit note |
| 33 | + |
| 34 | +## Steps |
| 35 | + |
| 36 | +- [ ] Check current OpenTofu version pinned in the Dockerfile: |
| 37 | + `grep -i opentofu docker/deployer/Dockerfile` |
| 38 | +- [ ] Check latest OpenTofu release: |
| 39 | + <https://github.com/opentofu/opentofu/releases> |
| 40 | +- [ ] Rebuild and re-scan: |
| 41 | + |
| 42 | + ```bash |
| 43 | + docker build --no-cache -t torrust/tracker-deployer:local docker/deployer/ |
| 44 | + trivy image --severity HIGH,CRITICAL torrust/tracker-deployer:local |
| 45 | + ``` |
| 46 | + |
| 47 | +- [ ] Compare against the pass-1 baseline in |
| 48 | + `docs/security/docker/scans/torrust-tracker-deployer.md` |
| 49 | +- [ ] For Debian base package CVEs, check fix availability: |
| 50 | + <https://security-tracker.debian.org/tracker/> |
| 51 | +- [ ] Update `docs/security/docker/scans/torrust-tracker-deployer.md` with new |
| 52 | + scan results |
| 53 | +- [ ] **If CRITICAL is cleared**: update Dockerfile OpenTofu version; post results |
| 54 | + comment; close #429 |
| 55 | +- [ ] **If only Debian packages improved**: post results comment; re-evaluate open |
| 56 | + status |
| 57 | +- [ ] **If no change**: post comment with accepted risk rationale for remaining |
| 58 | + CVEs; label `accepted-risk`; leave open with revisit note |
| 59 | + |
| 60 | +## Outcome |
| 61 | + |
| 62 | +<!-- Fill in after doing the work --> |
| 63 | + |
| 64 | +- Date: |
| 65 | +- Current OpenTofu version in Dockerfile: |
| 66 | +- Latest OpenTofu release: |
| 67 | +- Findings after rebuild (HIGH / CRITICAL): |
| 68 | +- Decision: fixed / partial / accepted risk |
| 69 | +- Comment/PR: |
0 commit comments