medium 5.3
EPSS 0.50%
GO-2026-5015: Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- google golang.org/x/crypto
https://osv.dev/vulnerability/GO-2026-5015 ↗
osvgofix-available
Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh SSH servers which use CertChecker as a public key callback without setting IsUserAuthority or IsHostAuthority could be caused to panic by a client presenting a certificate. CertChecker now returns an error instead of panicking when these callbacks are nil. Affected: Go:golang.org/x/crypto Fixed in: 0.52.0 References: https://go.dev/issue/79563 https://groups.google.com/g/golang-announce/c/a082jnz-LvI https://go.dev/cl/781660