|
| 1 | +<!-- cspell:ignore RUSTSEC webpki pemfile --> |
| 2 | + |
| 3 | +# Cargo Audit Security Scan - 2026-04-10 |
| 4 | + |
| 5 | +## Scan Metadata |
| 6 | + |
| 7 | +- Date: 2026-04-10 |
| 8 | +- Tool: `cargo-audit` |
| 9 | +- Workspace: `torrust-tracker-deployer` |
| 10 | +- Command: `cargo audit` |
| 11 | + |
| 12 | +## Baseline (Before Remediation) |
| 13 | + |
| 14 | +Initial scan found 4 vulnerabilities and 1 warning: |
| 15 | + |
| 16 | +1. `RUSTSEC-2026-0066` - `astral-tokio-tar 0.5.6` |
| 17 | +1. `RUSTSEC-2026-0007` - `bytes 1.11.0` |
| 18 | +1. `RUSTSEC-2026-0049` - `rustls-webpki 0.103.8` |
| 19 | +1. `RUSTSEC-2026-0009` - `time 0.3.44` |
| 20 | +1. `RUSTSEC-2025-0134` - `rustls-pemfile 2.2.0` (unmaintained warning) |
| 21 | + |
| 22 | +Baseline output excerpt: |
| 23 | + |
| 24 | +```text |
| 25 | +error: 4 vulnerabilities found! |
| 26 | +warning: 1 allowed warning found |
| 27 | +``` |
| 28 | + |
| 29 | +## Remediation Actions |
| 30 | + |
| 31 | +Applied updates: |
| 32 | + |
| 33 | +1. Upgraded `testcontainers` in workspace root from `0.26` to `0.27`. |
| 34 | +1. Upgraded `testcontainers` in `packages/dependency-installer` dev-dependencies from `0.25` to `0.27`. |
| 35 | +1. Refreshed lockfile with `cargo update`. |
| 36 | + |
| 37 | +These updates pulled patched transitive dependencies, including: |
| 38 | + |
| 39 | +- `bytes 1.11.1` |
| 40 | +- `time 0.3.47` |
| 41 | +- `rustls-webpki 0.103.10` |
| 42 | + |
| 43 | +## Verification (After Remediation) |
| 44 | + |
| 45 | +Command rerun: |
| 46 | + |
| 47 | +```bash |
| 48 | +cargo audit |
| 49 | +``` |
| 50 | + |
| 51 | +Result: |
| 52 | + |
| 53 | +- Exit code: `0` |
| 54 | +- No vulnerabilities reported for current lockfile. |
| 55 | + |
| 56 | +Output excerpt: |
| 57 | + |
| 58 | +```text |
| 59 | +Fetching advisory database from `https://github.com/RustSec/advisory-db.git` |
| 60 | +Loaded 1042 security advisories |
| 61 | +Scanning Cargo.lock for vulnerabilities (380 crate dependencies) |
| 62 | +``` |
| 63 | + |
| 64 | +## Follow-up Issues |
| 65 | + |
| 66 | +No follow-up issue was required for this scan because all reported vulnerabilities were resolved through dependency updates. |
| 67 | + |
| 68 | +## Related |
| 69 | + |
| 70 | +- Main task: <https://github.com/torrust/torrust-tracker-deployer/issues/439> |
| 71 | +- Workflow: `.github/workflows/cargo-security-audit.yml` |
| 72 | +- Dependency report index: `docs/security/dependencies/README.md` |
0 commit comments