Skip to content

Pin fixed apt in OpenSecret parent helpers - #1468

Merged
AnthonyRonning merged 1 commit into
masterfrom
fix/helper-apt-cve
Nov 5, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
fix/helper-apt-cve

Conversation

@w3irdrobot

@w3irdrobot w3irdrobot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Master's os-helpers lane fails its Trivy scan on CVE-2026-109518 (HIGH) in apt and libapt-pkg6.0 2.6.1, which come from the pinned python:3.13.16-slim-bookworm base.

  • Require apt and libapt-pkg6.0 2.6.2 from bookworm-security in both helper Dockerfiles, with the same dpkg-query version checks as the existing pins. The base digest stays the same.
  • Set Acquire::Retries=0 on that install. The base's vulnerable apt does the upgrade, and the CVE depends on download retries. A network blip in this step now fails the build instead of retrying.

Testing

  • Built both images locally on amd64 with Podman. Import checks and offline helper tests pass (6 and 4 tests), and both report apt 2.6.2.
  • Trivy v0.75.0 with CI's flags exits 0 on both images.
  • plan.py lint passes; plan.py explain selects only os-helpers.

Not run locally: the ARM64 build CI uses, because the build node has no ARM64 emulation. 2.6.2 is published for arm64, and this PR's os-helpers lane covers it.

Not fixed here

The same nightly run also failed agent-full-windows on sign_in_page::tests::the_security_policy_allows_the_pages_own_script_and_style. It's unrelated and hasn't been investigated.

This path counts for ci_evidence, so don't merge between a Research version bump and its release.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Trivy reports CVE-2026-109518 (HIGH) in apt and libapt-pkg6.0 2.6.1 from
the pinned python:3.13.16-slim-bookworm base, failing both os-helpers
image scans on master. Keep the digest stable and require 2.6.2 from
bookworm-security next to the existing pins, with the same dpkg-query
version check.

The base's vulnerable apt performs this install, so set
Acquire::Retries=0 for it: the CVE depends on download retries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AnthonyRonning
AnthonyRonning merged commit f633b70 into master Nov 5, 2026
22 checks passed
@AnthonyRonning
AnthonyRonning deleted the fix/helper-apt-cve branch November 5, 2026 16:15
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