Repository navigation
fix(snyk): remediate high-and-above vulnerabilities on main - #7429
prodsec-github-automation wants to merge 1 commit into
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This comment has been minimized.
This comment has been minimized.
|
…ource Applied by snyk fix --agentic via the Snyk ProdSec CircleCI orb, from chore/CLI-1840-e2e at 22bf109. These changes are generated. Review them before merging.
|
Superseded: the fix branch has been rebuilt from main. A new pull request replaces this one. |
e49b227 to
e2d8abb
Compare
PR Reviewer Guide 🔍
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e2d8abb. Configure here.
| github.com/jcmturner/rpc/v2 v2.0.3 // indirect | ||
| github.com/kevinburke/ssh_config v1.6.0 // indirect | ||
| github.com/klauspost/compress v1.19.2 // indirect | ||
| github.com/klauspost/compress v1.20.2 // indirect |
There was a problem hiding this comment.
Incomplete go-jose private upgrade
Medium Severity
cliv2 now pins go-jose/v4 at v4.1.6, but cliv2-private still lists v4.1.4 and its go.sum has no v4.1.6 checksums. The high-severity go-jose finding stays on the private module, and shared-dependency validation between the two go.mod files will fail.
Additional Locations (1)
Triggered by learned rule: cliv2-private mirrored go.sum bumps
Reviewed by Cursor Bugbot for commit e2d8abb. Configure here.


Snyk agentic fix
The Snyk Open Source scan of
chore/CLI-1840reported vulnerabilities at or above high severity. This branch was produced bysnyk fix --agenticworking on those.The fix itself was applied to
main, not tochore/CLI-1840, so this pull request stands on its own rather than stacking on the branch that triggered it. A vulnerability that exists only onchore/CLI-1840is therefore not addressed here.Whether that scan also failed the build depends on the Enhanced Gate, which blocks only once a vulnerability has passed its remediation SLA — so this pull request may exist for a build that is green.
3 of 5 fixed.
Fixed
cliv2-private/go.mod,cliv2/go.modgo-joseintroduces stricter validation that could affect existing applications. Behavioral Change: - v4.1.6: The library now rejects JSON Web Encryption (JWE) messages with mismatched Content Encryption Key (CEK) lengths. Previously, these may have been processed, but now they will result in an error. Recommendation: Verify that any systems generating JWE tokens for consumption by this service are correctly formatting the CEK. This change improves security and spec compliance but could cause issues with incorrectly generated tokens. Source: GitHub Release Notescliv2-private/go.mod,cliv2/go.modcliv2-private/go.mod,cliv2/go.modhuff0decoder, leading to a denial of service. - Optimizations: The releases within this range include performance improvements for thehuff0package. There are no documented breaking API changes. The upgrade is recommended to patch the security vulnerability. Source: Release NotesNot fixed
package.jsonpackage.jsonA row marked Fix available: No has no upgrade path for
snyk fixto take. One marked Yes does, but needed a change the agent would not make unattended — those are the rows to look at first.This is not necessarily a complete fix. The build on this pull request runs the same Open Source scan and quality gate, so its result — not this description — is the verdict on what is left.
Changes
Snyk ProdSec orb · build 685297 · model
claude-sonnet-5-5Note
Medium Risk
Indirect crypto and compression library upgrades; go-jose v4.1.6 may reject previously accepted JWE tokens, while compress mainly hardens decoding against malicious inputs.
Overview
Bumps indirect Go module versions in
cliv2andcliv2-private(go.mod/go.sum) to address Snyk high-severity findings—no application source changes.github.com/go-jose/go-jose/v4moves 4.1.4 → 4.1.6 (algorithmic-complexity fix). v4.1.6 tightens JWE handling by rejecting mismatched Content Encryption Key lengths, which can break interaction with non-compliant token producers.github.com/klauspost/compressmoves 1.19.2 → 1.20.2 (integer-overflow / DoS issues in zstd and huff0 decoders on crafted input). This is a patch-level dependency refresh with no documented API breaks.JavaScript
package.jsonissues noted in the Snyk run (e.g. braces, picomatch) are not changed in this diff.Reviewed by Cursor Bugbot for commit e49b227. Bugbot is set up for automated code reviews on this repo. Configure here.