Skip to content

chore(trivy): ignore base-image setuptools and pip-vendored msgpack findings - #252

Merged
spashii merged 1 commit into
mainfrom
chore/trivy-base-image-python
Aug 26, 2026
Merged

chore(trivy): ignore base-image setuptools and pip-vendored msgpack findings#252
spashii merged 1 commit into
mainfrom
chore/trivy-base-image-python

Conversation

@spashii

@spashii spashii commented Aug 26, 2026

Copy link
Copy Markdown
Member

What is this change?

Two lines in .trivyignore, with rationale in the file: setuptools 70.3.0 (CVE-2025-47273) and msgpack 1.1.2 (GHSA-6v7p-g79w-8964), both from the python:3.12-slim base image's own tooling.

What led to this?

After #243 merged, PR #251's re-run still failed the trivy step on exactly these two Python rows. Neither package is in Sam's runtime tree (/home/sam/.local, from requirements.txt) or in requirements-dev.txt. Sam never calls setuptools.package_index.PackageIndex and never unpacks msgpack data. Pushes to main skip ci-checks, so main reads green while every open PR is blocked.

Tier

Tier 1: CI configuration, no runtime change.

Re-evaluate

On the next base image bump: drop both lines once the image ships setuptools >= 78.1.1 and a pip vendoring msgpack >= 1.2.1.

…indings

Trivy started flagging setuptools 70.3.0 (CVE-2025-47273) and msgpack
1.1.2 (GHSA-6v7p-g79w-8964) in the python:3.12-slim base image's own
tooling. Neither is in Sam's runtime tree under /home/sam/.local, and
Sam never calls setuptools.PackageIndex or unpacks msgpack data. Every
open PR fails ci-checks on these two rows since #243 merged; pushes to
main skip ci-checks, so main looks green while no PR can pass.
@spashii
spashii merged commit 2a25719 into main Aug 26, 2026
2 checks passed
@spashii
spashii deleted the chore/trivy-base-image-python branch August 26, 2026 14: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.

1 participant