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.
Update golang.org/x/crypto to 0.52.0; golang.org/x/crypto/ssh to 0.52.0 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scangolang.org/x/crypto/ssh is vulnerable to invoking server panic during CheckHostKey/Authenticate flow affects golang.org/x/crypto (go), golang.org/x/crypto/ssh (go). Severity is medium. 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.
AI coding agents often install or upgrade packages automatically in go. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| golang.org/x/cryptogo | <0.52.0 | 0.52.0 |
| 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.
Update golang.org/x/crypto to 0.52.0; golang.org/x/crypto/ssh to 0.52.0 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scangolang.org/x/crypto/ssh is vulnerable to invoking server panic during CheckHostKey/Authenticate flow affects golang.org/x/crypto (go), golang.org/x/crypto/ssh (go). Severity is medium. 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.
AI coding agents often install or upgrade packages automatically in go. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| golang.org/x/cryptogo | <0.52.0 | 0.52.0 |
| golang.org/x/crypto/ssh |
| <0.52.0 |
| 0.52.0 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard| <0.52.0 |
| 0.52.0 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard