blob: d17b3c514903d54aee194a6af99198fa28746316 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2021-0356",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-04-25T20:38:40Z",
"aliases": [
"CVE-2022-27191",
"GHSA-8c26-wmh5-6g9v"
],
"summary": "Denial of service via crafted Signer in golang.org/x/crypto/ssh",
"details": "Attackers can cause a crash in SSH servers when the server has been configured by passing a Signer to ServerConfig.AddHostKey such that\n1) the Signer passed to AddHostKey does not implement AlgorithmSigner, and\n2) the Signer passed to AddHostKey returns a key of type “ssh-rsa” from its PublicKey method.\n\nServers that only use Signer implementations provided by the ssh package are unaffected.",
"affected": [
{
"package": {
"name": "golang.org/x/crypto",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.0-20220314234659-1baeb1ce4c0b"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/crypto/ssh",
"symbols": [
"ServerConfig.AddHostKey"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/392355"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/crypto/+/1baeb1ce4c0b006eff0f294c47cb7617598dfb3d"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/-cp44ypCT5s"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2021-0356",
"review_status": "REVIEWED"
}
}