{"id":"UBUNTU-CVE-2022-27191","details":"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.","modified":"2026-05-20T16:06:42.558931569Z","published":"2022-03-18T07:15:00Z","upstream":["CVE-2022-27191"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-27191"},{"type":"REPORT","url":"https://groups.google.com/g/golang-announce/c/-cp44ypCT5s/m/wmegxkLiAQAJ"},{"type":"REPORT","url":"https://github.com/golang/crypto/commit/1baeb1ce4c0b006eff0f294c47cb7617598dfb3d"},{"type":"REPORT","url":"https://groups.google.com/g/golang-announce/c/-cp44ypCT5s"},{"type":"REPORT","url":"https://groups.google.com/g/golang-announce"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-27191"}],"affected":[{"package":{"name":"golang-go.crypto","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.0~git20150608-1","1:0.0~git20151201.0.7b85b09-2","1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm1","binary_name":"golang-go.crypto-dev"},{"binary_version":"1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm1","binary_name":"golang-golang-x-crypto-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"}},{"package":{"name":"golang-go.crypto","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm1","binary_name":"golang-go.crypto-dev"},{"binary_version":"1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm1","binary_name":"golang-golang-x-crypto-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"}},{"package":{"name":"golang-go.crypto","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.0~git20190701.4def268-2","1:0.0~git20200221.2aa609c-1","1:0.0~git20200221.2aa609c-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.0~git20200221.2aa609c-1ubuntu0.1~esm1","binary_name":"golang-golang-x-crypto-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"}},{"package":{"name":"golang-go.crypto","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.0~git20201221.eec23a3-1","1:0.0~git20211202.5770296-1","1:0.0~git20211202.5770296-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.0~git20211202.5770296-1ubuntu0.1~esm1","binary_name":"golang-golang-x-crypto-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"}},{"package":{"name":"golang-go.crypto","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.19.0-1ubuntu0.1~esm1","binary_name":"golang-golang-x-crypto-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"}},{"package":{"name":"golang-go.crypto","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.25.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.25.0-1","binary_name":"golang-golang-x-crypto-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"}},{"package":{"name":"golang-go.crypto","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-go.crypto?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:0.25.0-1","1:0.45.0-1","1:0.47.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.47.0-1","binary_name":"golang-golang-x-crypto-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27191.json"}}],"schema_version":"1.7.5","severity":[{"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"}]}