High
golang-go.crypto — security advisory
The golang.org/x/crypto/ssh package before 0.0.0-20220314234659-1baeb1ce4c0b for Go allows an attacker to crash a server in certain circumstances involving AddHostKey.
- Products
- golang-go.crypto
- Affected versions
- 1:0.0~git20150608-1, 1:0.0~git20151201.0.7b85b09-2, 1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm1, 1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm2, 1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm3, 1:0.0~git20170629.0.5ef0053-1ubuntu1, 1:0.0~git20170629.0.5ef0053-1ubuntu2, 1:0.0~git20170629.0.5ef0053-2, 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm1, 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2, 1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm3, 1:0.0~git20190701.4def268-2, 1:0.0~git20200221.2aa609c-1, 1:0.0~git20200221.2aa609c-1ubuntu0.1~esm1, 1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2, 1:0.0~git20200221.2aa609c-1ubuntu0.1~esm3, 1:0.0~git20201221.eec23a3-1, 1:0.0~git20211202.5770296-1, 1:0.0~git20211202.5770296-1ubuntu0.1~esm1, 1:0.0~git20211202.5770296-1ubuntu0.1~esm2, 1:0.0~git20211202.5770296-1ubuntu0.1~esm3, 1:0.17.0-1, 1:0.18.0-1, 1:0.19.0-1, 1:0.19.0-1ubuntu0.1~esm1, 1:0.19.0-1ubuntu0.1~esm2, 1:0.19.0-1ubuntu0.1~esm3, 1:0.25.0-1, 1:0.25.0-1ubuntu0.1, 1:0.4.0-1, 1:0.45.0-1, 1:0.47.0-1, 1:0.47.0-1ubuntu0.1~esm1, 1:0.55.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2022-27191
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:40 UTC · Revision 1
Source evidence
The golang.org/x/crypto/ssh package before 0.0.0-20220314234659-1baeb1ce4c0b for Go allows an attacker to crash a server in certain circumstances involving AddHostKey.
osv:UBUNTU-CVE-2022-27191
golang-go.crypto
Fixed versions: Not specified
golang-go.crypto
Fixed versions: Not specified
golang-go.crypto
Fixed versions: Not specified
golang-go.crypto
Fixed versions: Not specified
golang-go.crypto
Fixed versions: Not specified
golang-go.crypto
Fixed versions: Not specified
golang-go.crypto
Fixed versions: Not specified
golang-go.crypto
Fixed versions: Not specified
Complete source record
{
"id": "82f56d2c865afa4133ad8e2b1d31ea7ea206c3d6e253aea21845779954a75d53",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-27191",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-27191",
"summary": "The golang.org/x/crypto/ssh package before 0.0.0-20220314234659-1baeb1ce4c0b for Go allows an attacker to crash a server in certain circumstances involving AddHostKey.",
"evidence": "osv:UBUNTU-CVE-2022-27191",
"products": [
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.0~git20150608-1",
"evidence": "/affected/0/versions"
},
{
"value": "1:0.0~git20151201.0.7b85b09-2",
"evidence": "/affected/0/versions"
},
{
"value": "1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
},
{
"value": "1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm2",
"evidence": "/affected/0/versions"
},
{
"value": "1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.0~git20170629.0.5ef0053-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "1:0.0~git20170629.0.5ef0053-1ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "1:0.0~git20170629.0.5ef0053-2",
"evidence": "/affected/1/versions"
},
{
"value": "1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
},
{
"value": "1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2",
"evidence": "/affected/1/versions"
},
{
"value": "1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.0~git20190701.4def268-2",
"evidence": "/affected/2/versions"
},
{
"value": "1:0.0~git20200221.2aa609c-1",
"evidence": "/affected/2/versions"
},
{
"value": "1:0.0~git20200221.2aa609c-1ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
},
{
"value": "1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2",
"evidence": "/affected/2/versions"
},
{
"value": "1:0.0~git20200221.2aa609c-1ubuntu0.1~esm3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.0~git20201221.eec23a3-1",
"evidence": "/affected/3/versions"
},
{
"value": "1:0.0~git20211202.5770296-1",
"evidence": "/affected/3/versions"
},
{
"value": "1:0.0~git20211202.5770296-1ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
},
{
"value": "1:0.0~git20211202.5770296-1ubuntu0.1~esm2",
"evidence": "/affected/3/versions"
},
{
"value": "1:0.0~git20211202.5770296-1ubuntu0.1~esm3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.4.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1:0.17.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1:0.18.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1:0.19.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1:0.19.0-1ubuntu0.1~esm1",
"evidence": "/affected/4/versions"
},
{
"value": "1:0.19.0-1ubuntu0.1~esm2",
"evidence": "/affected/4/versions"
},
{
"value": "1:0.19.0-1ubuntu0.1~esm3",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.25.0-1",
"evidence": "/affected/5/versions"
},
{
"value": "1:0.25.0-1ubuntu0.1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.47.0-1",
"evidence": "/affected/6/versions"
},
{
"value": "1:0.55.0-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.25.0-1",
"evidence": "/affected/7/versions"
},
{
"value": "1:0.45.0-1",
"evidence": "/affected/7/versions"
},
{
"value": "1:0.47.0-1",
"evidence": "/affected/7/versions"
},
{
"value": "1:0.47.0-1ubuntu0.1~esm1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2022-27191",
"aliases": [
"UBUNTU-CVE-2022-27191"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-go.crypto",
"purl": "pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-infra-legacy%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"1:0.0~git20150608-1",
"1:0.0~git20151201.0.7b85b09-2",
"1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm1",
"1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm2",
"1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-go.crypto-dev",
"binary_version": "1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm3"
},
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-go.crypto",
"purl": "pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"1:0.0~git20170629.0.5ef0053-1ubuntu1",
"1:0.0~git20170629.0.5ef0053-1ubuntu2",
"1:0.0~git20170629.0.5ef0053-2",
"1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm1",
"1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2",
"1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-go.crypto-dev",
"binary_version": "1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm3"
},
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-go.crypto",
"purl": "pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"1:0.0~git20190701.4def268-2",
"1:0.0~git20200221.2aa609c-1",
"1:0.0~git20200221.2aa609c-1ubuntu0.1~esm1",
"1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2",
"1:0.0~git20200221.2aa609c-1ubuntu0.1~esm3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.0~git20200221.2aa609c-1ubuntu0.1~esm3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-go.crypto",
"purl": "pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"1:0.0~git20201221.eec23a3-1",
"1:0.0~git20211202.5770296-1",
"1:0.0~git20211202.5770296-1ubuntu0.1~esm1",
"1:0.0~git20211202.5770296-1ubuntu0.1~esm2",
"1:0.0~git20211202.5770296-1ubuntu0.1~esm3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.0~git20211202.5770296-1ubuntu0.1~esm3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-go.crypto",
"purl": "pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"1:0.4.0-1",
"1:0.17.0-1",
"1:0.18.0-1",
"1:0.19.0-1",
"1:0.19.0-1ubuntu0.1~esm1",
"1:0.19.0-1ubuntu0.1~esm2",
"1:0.19.0-1ubuntu0.1~esm3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.19.0-1ubuntu0.1~esm3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-go.crypto",
"purl": "pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1:0.25.0-1",
"1:0.25.0-1ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.25.0-1ubuntu0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-go.crypto",
"purl": "pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1:0.47.0-1",
"1:0.55.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.55.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-go.crypto",
"purl": "pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"versions": [
"1:0.25.0-1",
"1:0.45.0-1",
"1:0.47.0-1",
"1:0.47.0-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.47.0-1ubuntu0.1~esm1"
}
]
}
}
],
"modified": "2026-10-17T12:55:57.347961494Z",
"provider": "osv",
"upstream": [
"CVE-2022-27191"
],
"references": [
"https://ubuntu.com/security/CVE-2022-27191",
"https://groups.google.com/g/golang-announce/c/-cp44ypCT5s/m/wmegxkLiAQAJ",
"https://github.com/golang/crypto/commit/1baeb1ce4c0b006eff0f294c47cb7617598dfb3d",
"https://groups.google.com/g/golang-announce/c/-cp44ypCT5s",
"https://groups.google.com/g/golang-announce",
"https://www.cve.org/CVERecord?id=CVE-2022-27191"
]
},
"related_cves": [
{
"value": "CVE-2022-27191",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354358,
"published_at": "2022-03-18T07:15:00+00:00"
}