Skip to content

Pin fixed perl-base in OpenSecret parent helpers - #1086

Merged
AnthonyRonning merged 1 commit into
masterfrom
ci/parent-helper-perl-base
Oct 6, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
ci/parent-helper-perl-base

Conversation

@AnthonyRonning

Copy link
Copy Markdown
Contributor

Fixes section 1 of #1084.

Trivy reports 7 fixable HIGH/CRITICAL findings in perl-base 5.36.0-7+deb12u3, starting with CVE-2026-13221. That package comes from the digest-pinned python:3.13.16-slim-bookworm base. The findings fail Parent helper image (enclave-logging) and (credential-requester) on every PR that selects the helpers job. Master stays green only because the job is skipped there.

Change

  • In both nitro-toolkit/{credential_requester,logging}/Dockerfile: add perl-base=5.36.0-7+deb12u4 to the existing apt-get install --only-upgrade step, next to the libpcre2 pin from Pin fixed PCRE2 in OpenSecret parent helper images #1070, and add a dpkg-query version assertion for it. The base digest is unchanged.
  • scripts/ci/test_opensecret_workflows.py: the old test matched the exact single-line libpcre2 install string. It now checks for each pinned package=version and its dpkg-query version check.

These helper images run on the parent instance. They are not EIF/PCR inputs.

Validation

  • python3 scripts/ci/test_opensecret_workflows.py (the opensecret-workflows flake check, with Go yq on PATH): all 44 tests pass on this branch and on master.
  • Not verified locally: I couldn't build the image or confirm that bookworm-security publishes 5.36.0-7+deb12u4. My environment has no Docker daemon and Debian mirrors are blocked. The version is the "Fixed in" value from the Trivy report. This PR's ARM64 helper jobs (build, runtime checks, offline tests, Trivy) are the real check.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Db3zcWnj43PXVPncmP5Lo8


Generated by Claude Code

Trivy now reports seven fixable HIGH/CRITICAL findings (CVE-2026-13221
et al.) in perl-base 5.36.0-7+deb12u3 from the pinned
python:3.13.16-slim-bookworm base, failing both Parent helper image jobs
on every PR that selects them. Keep the digest stable and require
perl-base 5.36.0-7+deb12u4 from bookworm-security alongside the existing
libpcre2 pin, with the same dpkg-query version check. The workflow
boundary test now asserts each pinned package.

Refs #1084

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Db3zcWnj43PXVPncmP5Lo8
@AnthonyRonning
AnthonyRonning merged commit 0fbbe8c into master Oct 6, 2026
32 checks passed
@AnthonyRonning
AnthonyRonning deleted the ci/parent-helper-perl-base branch October 6, 2026 23:55
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