Repository navigation
fix(images): upgrade apt in minimal and universal for CVE-2026-109518 - #345
Merged
Merged
Conversation
matifali
commented
Nov 5, 2026
matifali
requested review from
Lisa-Fiander
and removed request for
Lisa-Fiander
November 5, 2026 13:46
Lisa-Fiander
approved these changes
Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The minimal and universal images don't run
apt-get upgrade, and their upstream images (ubuntu:resolute,mcr.microsoft.com/devcontainers/universal:noble) still ship apt without the CVE-2026-109518 fix (USN-8996-1). A rebuild alone won't fix them. Desktop builds on minimal.Fix
minimal: addapt-get upgradeto the existing install step, matchingbase.universal: add anapt-get update && apt-get upgradestep right afterUSER root.desktop: no change. It usesFROM codercom/enterprise-minimal:latest, andscripts/images.shbuilds minimal first.Validation
Built locally and checked
dpkg-query -W apt:ubuntu:resolute)devcontainers/universal:noble)For universal, I only built the upstream image plus the new upgrade step, not the later steps.
Note
Acquire::Retries "0"is left out on purpose. With apt upgraded it isn't needed, and it would make apt installs in user workspaces fail on temporary network errors instead of retrying.After merge, trigger
build.yamlby hand rather than waiting for the weekly scheduled run.Closes SEC-1319
Part of SEC-1315