Repository navigation
ci: accept msgpack CVE vendored by pip - #273
Conversation
CVE-2026-114613 in msgpack 1.1.2, vendored by pip in the base image and not used by the app, fails the image scan since 2026-10-28; pip 26.2.2, the latest release, still vendors it. Accept it until 2027-01-31, as FOCA does. Closes #272 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the image-scan ignore configuration to accept the pip-vendored msgpack 1.1.2 finding while limiting the exception by package URL and expiration date. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #273 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 20 20
Lines 1976 1976
=========================================
Hits 1976 1976 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Hey - I've reviewed your changes and they look great!
Sourcery assessment
Needs a human reviewer. The security scan did not finish, and this suppresses Trivy’s alert for the vendored msgpack CVE, so if pip’s cache handling is actually exploitable, CI will no longer flag that risk while builds use this package. Reverting restores the alert, but it cannot undo any compromise that occurred during the exception.
Summary
The image scan of
devfails since 2026-10-28 on CVE-2026-114613 (HIGH) in msgpack 1.1.2, which pip vendors in the base image; the app doesn't use it, and pip only runs at build time. pip 26.2.2, the latest release, still vendors 1.1.2 (pip's main branch has 1.2.3). This accepts it in.trivyignore.yaml, limited topkg:pypi/[email protected]and expiring 2027-01-31, like the other pip-vendored entries and FOCA's entry for the same CVE.Closes #272
Light lane: configuration only (one accepted vulnerability with expiry); no code, secrets, permissions or release workflow touched. I reviewed the diff myself.
Verification
dev(run 40642843442) failed with exactly this finding:msgpack │ CVE-2026-114613 │ HIGH │ fixed │ 1.1.2 │ 1.2.3..trivyignore.yamlparses as YAML; the entry matches FOCA's.🤖 Generated with Claude Code
Summary by Sourcery
Allow image scans to pass while tracking the unused pip-vendored msgpack vulnerability until its exemption expires.
Enhancements:
Chores: