Skip to content

Remediate Dependabot alerts for x/crypto and jwt-go - #74

Open
AnjriI wants to merge 1 commit into
developmentfrom
task/4187
Open

Remediate Dependabot alerts for x/crypto and jwt-go#74
AnjriI wants to merge 1 commit into
developmentfrom
task/4187

Conversation

@AnjriI

@AnjriI AnjriI commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Dependabot identified 14 vulnerabilities in direct dependencies declared in go.mod: 13 in golang.org/x/crypto and one in github.com/golang-jwt/jwt/v5.

These include authentication and authorization bypasses, unenforced SSH key and certificate restrictions, denial-of-service conditions, panics, deadlocks, and excessive memory allocation during JWT header parsing.

Although govulncheck found no currently reachable vulnerable symbols, upgrading removes the affected dependency versions and prevents vulnerable functionality from being used in the future.

Dependabot alerts addressed

The alerts cover:

  • SSH authentication and certificate restriction bypasses
  • SSH agent key-constraint enforcement issues
  • FIDO/U2F physical-presence verification bypass
  • Infinite loops, deadlocks, panics, and memory leaks that may cause denial of service
  • Excessive memory allocation while parsing JWT headers

Changes

  • Upgrade github.com/golang-jwt/jwt/v5 from v5.2.1 to v5.2.2.
  • Upgrade golang.org/x/crypto from v0.45.0 to v0.52.0.
  • Update the related golang.org/x/sys and golang.org/x/term dependencies.
  • Update the Go toolchain and CI workflow to Go 1.25.12.
  • Refresh dependency checksums in go.sum.

Validation

  • go mod verify
  • go test ./... on Linux
  • CGO_ENABLED=0 go build
  • govulncheck ./... — no reachable vulnerabilities found
  • git diff --check

@AnjriI
AnjriI requested review from adriangawinek and wilkowskia and removed request for wilkowskia August 12, 2026 15:22
@fujitsu-domzalskis

Copy link
Copy Markdown
Collaborator

Hmm, did you try it on physical environment? Was the cluster provisioned properly?

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.

4 participants