GO-2021-0356

Denial of service via crafted Signer in golang.org/x/crypto/ssh

En bref

Publiée
Mise à jour
CVE
CVE-2022-27191
Alias
GHSA-8c26-wmh5-6g9v

Description

Attackers can cause a crash in SSH servers when the server has been configured by passing a Signer to ServerConfig.AddHostKey such that 1) the Signer passed to AddHostKey does not implement AlgorithmSigner, and 2) the Signer passed to AddHostKey returns a key of type “ssh-rsa” from its PublicKey method. Servers that only use Signer implementations provided by the ssh package are unaffected.

Paquets affectés

PaquetVersions
Go · golang.org/x/cryptointroduced 0, fixed 0.0.0-20220314234659-1baeb1ce4c0b

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database