Skip to content

Update go-jose to v4.1.4#5740

Merged
rene merged 3 commits intolf-edge:masterfrom
eriknordmark:persistent
Apr 11, 2026
Merged

Update go-jose to v4.1.4#5740
rene merged 3 commits intolf-edge:masterfrom
eriknordmark:persistent

Conversation

@eriknordmark
Copy link
Copy Markdown
Contributor

@eriknordmark eriknordmark commented Apr 3, 2026

Description

Update eve-libs to latest to update the indirect use of go-jose to v4.1.4

This uses a redirect to avoid incompatibilities for the docker package. @shjala can we trigger a CVE scan so we can check that the redirect/version pin does not result in matching other CVEs?

The reachability analysis of the CVE is:
No non-vendor Go file in pkg/pillar imports go-jose at all. The library is
pulled in only as a transitive dependency via github.com/spiffe/go-spiffe/v2.
The spiffe bundle code uses go-jose only for JWK/JWS handling (JWT bundle
parsing), not JWE decryption with key-wrapping algorithms. ParseEncrypted,
ParseEncryptedJSON, ParseEncryptedCompact, and cipher.KeyUnwrap are never
invoked from EVE's application code.

For that reason there is no need to backport this. Just fixing master to keep things neat.

How to test and validate this PR

No special test instructions.

Changelog notes

Avoid any indirect use of v4.1.3 of github.com/go-jose/go-jose/v4 to avoid any possible issues related to CVE-2026-34986

PR Backports

Here is the list of current LTS branches (it should be always up to date):

  • 16.0-stable No
  • 14.5-stable No
  • 13.4-stable No

Checklist

  • I've provided a proper description

  • I've added the proper documentation

  • I've tested my PR on amd64 device

  • I've tested my PR on arm64 device

  • I've written the test verification instructions

  • I've set the proper labels to this PR

  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

Please, check the boxes above after submitting the PR in interactive mode.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 29.87%. Comparing base (2281599) to head (161b525).
⚠️ Report is 471 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #5740       +/-   ##
===========================================
+ Coverage   19.52%   29.87%   +10.34%     
===========================================
  Files          19       18        -1     
  Lines        3021     2417      -604     
===========================================
+ Hits          590      722      +132     
+ Misses       2310     1549      -761     
- Partials      121      146       +25     

☔ View full report in Codecov by Sentry.
📢 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.

eriknordmark and others added 3 commits April 10, 2026 23:59
By bumping eve-libs

Signed-off-by: eriknordmark <erik@zededa.com>
To try to make the incompatibility go away

Signed-off-by: eriknordmark <erik@zededa.com>
Redirect to v28.5.1+incompatible

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: eriknordmark <erik@zededa.com>
@rene rene merged commit ebea41a into lf-edge:master Apr 11, 2026
45 of 50 checks passed
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