Skip to content

fix(devcontainer): apply full OS upgrade to remediate base image CVEs#32

Merged
idvoretskyi merged 2 commits intomainfrom
copilot/fix-gpg-out-of-bounds-write
Apr 27, 2026
Merged

fix(devcontainer): apply full OS upgrade to remediate base image CVEs#32
idvoretskyi merged 2 commits intomainfrom
copilot/fix-gpg-out-of-bounds-write

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

The devcontainer base image (mcr.microsoft.com/devcontainers/base:ubuntu-24.04) ships with vulnerable package versions, including keyboxd 2.4.4-2ubuntu17.3 (CVE-2025-68973, HIGH — out-of-bounds write in GnuPG's armor_filter).

Changes

  • .devcontainer/Dockerfile — adds apt-get -y upgrade after the install step, patching all available OS-level CVEs at image build time without removing packages:
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
    && apt-get -y install --no-install-recommends \
    ...
    && apt-get -y upgrade \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

Copilot AI and others added 2 commits April 27, 2026 13:35
@idvoretskyi idvoretskyi merged commit 4424d1b into main Apr 27, 2026
7 checks passed
@idvoretskyi idvoretskyi deleted the copilot/fix-gpg-out-of-bounds-write branch April 27, 2026 13:42
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.

2 participants