Repository navigation
fix(snyk): remediate high-and-above vulnerabilities on main - #7430
Closed
prodsec-github-automation wants to merge 1 commit into
Closed
prodsec-github-automation wants to merge 1 commit into
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.
Contributor
|
…ource Applied by snyk fix --agentic via the Snyk ProdSec CircleCI orb, from fix/CLI-1843_legacycli-placeholder-token at 4fb5b5e. These changes are generated. Review them before merging.
prodsec-github-automation
force-pushed
the
main+remy_fix
branch
from
October 27, 2026 16:40
e2d8abb to
eecbcb0
Compare
Contributor
Author
|
Superseded: the fix branch has been rebuilt from main. A new pull request replaces this one. |
PR Reviewer Guide 🔍
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk agentic fix
The Snyk Open Source scan of
chore/CLI-1840-e2ereported 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-e2e, so this pull request stands on its own rather than stacking on the branch that triggered it. A vulnerability that exists only onchore/CLI-1840-e2eis 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 685333 · model
claude-sonnet-5-5Note
Medium Risk
Indirect crypto/JWE validation is stricter in go-jose; compress changes affect decompression paths used by transitive deps—mostly security patches with limited behavioral risk except non-compliant JWE.
Overview
Bumps indirect Go dependencies in
cliv2andcliv2-privateto address Snyk high-severity findings—no application source changes.github.com/go-jose/go-jose/v4moves from v4.1.4 → v4.1.6 (algorithmic-complexity / JWE handling). v4.1.6 rejects JWE with mismatched CEK lengths, which is stricter and could break consumers of malformed tokens.github.com/klauspost/compressmoves from v1.19.2 → v1.20.2, patching zstd and huff0 decoder issues where crafted input could panic (DoS).go.sumentries are updated in both modules to match.Reviewed by Cursor Bugbot for commit eecbcb0. Bugbot is set up for automated code reviews on this repo. Configure here.