Skip to content

build(deps): x/crypto v0.56.0 へ更新(到達可能な DoS 脆弱性 2 件を解消) - #24

Merged
kwrkb merged 2 commits into
masterfrom
chore/x-crypto-v0.56.0
Sep 5, 2026
Merged

kwrkb merged 2 commits into
masterfrom
chore/x-crypto-v0.56.0

Conversation

@kwrkb

@kwrkb kwrkb commented Sep 5, 2026 •

Copy link
Copy Markdown
Owner

govulncheck が golang.org/x/crypto v0.55.0 に対して 到達可能 な脆弱性 2 件を報告していたため更新する。

検出内容(更新前)

Vulnerability #1: GO-2026-6355
    Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh
    Found in: golang.org/x/crypto@v0.55.0 / Fixed in: golang.org/x/crypto@v0.56.0
      #1: ssh.go:49:25: ssh.dialSSH calls ssh.Dial

Vulnerability #2: GO-2026-6354
    Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh
    Found in: golang.org/x/crypto@v0.55.0 / Fixed in: golang.org/x/crypto@v0.56.0
      #1: ssh.go:49:25: ssh.dialSSH calls ssh.Dial

Your code is affected by 2 vulnerabilities from 1 module.

いずれも本ツールの中核である ssh.Dial(ssh.go:49)から到達する。

変更

  • golang.org/x/crypto v0.55.0 → v0.56.0(go get ... @latest && go mod tidy)
  • x/term / x/sys は連動更新なし(それぞれ v0.45.0 / v0.47.0 のまま)
  • toolchain go1.26.6 は変更なし(標準ライブラリ側の指摘は今回なし)

検証

  • make check — build + vet + test + integration ビルド、すべて通過
  • govulncheck ./... — Symbol Results が空(到達可能な脆弱性 0 件)、exit 0

残る GO-2026-5932 は x/crypto に修正版が存在せず(Fixed in N/A)、本ツールのコードからは到達しないため対応しない。

併せて記録した事項(LESSONS.md)

この作業中、作業クローンの remote が GitLab 単一に退化しており、GitHub の master が
574daf5 fix: write the Scoop manifest into bucket/ を含む 3 コミット先行している状態を発見した。
そのままタグを打つと正本(GitHub Releases)のリリースと Scoop bucket 更新が欠落するため、
デュアルリモート構成を復元して 3 者(local / origin / gitlab)を揃えた。経緯を LESSONS.md に追記している。

kwrkb and others added 2 commits September 6, 2026 07:44
govulncheck が x/crypto v0.55.0 に対し GO-2026-6354 / GO-2026-6355 を
到達可能(ssh.Dial 経由)と報告していた。v0.56.0 で修正済み。
更新後は Symbol Results が空(到達可能な脆弱性 0 件)。

残る GO-2026-5932 は x/crypto に修正版がなく(Fixed in N/A)、
本ツールのコードからは到達しないため対応しない。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
作業クローンの remote が GitLab 単一になっており、GitHub の master が
Scoop manifest の出力先修正を含む 3 コミット先行していた。そのまま
タグを打つと正本のリリースと bucket 更新が欠落するため、デュアルリモート
構成を復元して 3 者を揃えた経緯を残す。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kwrkb
kwrkb merged commit 790ecd9 into master Sep 5, 2026
1 check passed
@kwrkb
kwrkb deleted the chore/x-crypto-v0.56.0 branch September 5, 2026 23:06
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.

1 participant