Skip to content

ci: accept msgpack CVE vendored by pip - #273

Merged
uniqueg merged 1 commit into
devfrom
ci/272-msgpack-cve
Oct 28, 2026
Merged

uniqueg merged 1 commit into
devfrom
ci/272-msgpack-cve

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Summary

The image scan of dev fails 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 to pkg: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

  • Scan workflow on dev (run 40642843442) failed with exactly this finding: msgpack │ CVE-2026-114613 │ HIGH │ fixed │ 1.1.2 │ 1.2.3.
  • .trivyignore.yaml parses as YAML; the entry matches FOCA's.
  • The CI job "Scan image" of this PR checks the image with the entry.

🤖 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:

  • Allow the image scan to accept the pip-vendored msgpack vulnerability CVE-2026-114613 for the unused build-time dependency version 1.1.2.

Chores:

  • Add a scoped exemption for CVE-2026-114613 with a 2027-01-31 expiration date.

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]>
@sourcery-ai

sourcery-ai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates 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

Change Details Files
Adds a narrowly scoped, time-bounded Trivy exception for a pip-vendored msgpack vulnerability.
  • Ignores CVE-2026-114613 only for msgpack 1.1.2.
  • Documents that the package is vendored by pip and not used by the application.
  • Sets the exception to expire on 2027-01-31.
.trivyignore.yaml

Assessment against linked issues

Issue Objective Addressed Explanation
#272 Allow the image scan to accept CVE-2026-114613 for pip-vendored msgpack 1.1.2, scoped to that package version and expiring on 2027-01-31. ✅

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (78eda8c) to head (fe515e4).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@uniqueg
uniqueg marked this pull request as ready for review October 28, 2026 06:47

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@uniqueg
uniqueg merged commit 117a69c into dev Oct 28, 2026
19 checks passed
@uniqueg
uniqueg deleted the ci/272-msgpack-cve branch October 28, 2026 06:51
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.

ci: accept msgpack CVE vendored by pip

1 participant