Skip to content

fix(sandbox): pin Debian security suite to avoid stale libssh2 - #298

Merged
Patel230 merged 2 commits into
mainfrom
fix/sandbox-libssh2
Sep 7, 2026
Merged

fix(sandbox): pin Debian security suite to avoid stale libssh2#298
Patel230 merged 2 commits into
mainfrom
fix/sandbox-libssh2

Conversation

@Patel230

@Patel230 Patel230 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

The sandbox image (node:22-bookworm-slim) shipped libssh2-1 1.10.0-3+b1, failing the Trivy CRITICAL/HIGH gate with CVE-2026-7598 / CVE-2026-58050. The base image's snapshot-pinned debian.sources lags the security suite, so the cached apt layer kept serving the vulnerable package even after DSA-6365-1 published 1.10.0-3+deb12u1.

Configure Debian sources explicitly (bookworm + bookworm-security) in the Dockerfile so every build pulls current security fixes and never serves a stale cached apt layer.

Verified locally: trivy image --severity CRITICAL,HIGH --ignore-unfixed --vuln-type os --exit-code 1 on the rebuilt image reports 0 vulnerabilities.

@Patel230
Patel230 merged commit aa09cfd into main Sep 7, 2026
26 checks passed
@Patel230
Patel230 deleted the fix/sandbox-libssh2 branch September 7, 2026 13:26
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