Critical
golang-go.crypto, lxd — security advisory
Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element.
- Products
- golang-go.crypto, lxd
- 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, 2.18-0ubuntu6, 2.19-0ubuntu1, 2.20-0ubuntu3, 2.20-0ubuntu4, 2.21-0ubuntu1, 2.21-0ubuntu2, 2.21-0ubuntu3, 2.21-0ubuntu4, 3.0.0-0ubuntu1, 3.0.0-0ubuntu2, 3.0.0-0ubuntu3, 3.0.0-0ubuntu4, 3.0.0~beta2-0ubuntu3, 3.0.0~beta3-0ubuntu3, 3.0.0~beta5-0ubuntu2, 3.0.0~beta7-0ubuntu1, 3.0.1-0ubuntu1~18.04.1, 3.0.2-0ubuntu1~18.04.1, 3.0.3-0ubuntu1~18.04.1, 3.0.3-0ubuntu1~18.04.2, 3.0.3-0ubuntu1~18.04.2+esm1, 3.0.3-0ubuntu1~18.04.2+esm2, 3.0.3-0ubuntu1~18.04.2+esm3
- Fixed versions
- Not specified
- CVEs
- CVE-2022-23806
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:45 UTC · Revision 1
Source evidence
Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element.
osv:UBUNTU-CVE-2022-23806
golang-go.crypto
Fixed versions: Not specified
lxd
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": "8583648ee6f0f4c2be39e2ddc1a7ebb8ae1e438dcc268e6ba9a7566a83870eb9",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-23806",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-23806",
"summary": "Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element.",
"evidence": "osv:UBUNTU-CVE-2022-23806",
"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": "lxd",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.18-0ubuntu6",
"evidence": "/affected/1/versions"
},
{
"value": "2.19-0ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "2.20-0ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "2.20-0ubuntu4",
"evidence": "/affected/1/versions"
},
{
"value": "2.21-0ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "2.21-0ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "2.21-0ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "2.21-0ubuntu4",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.0~beta2-0ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.0~beta3-0ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.0~beta5-0ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.0~beta7-0ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.0-0ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.0-0ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.0-0ubuntu3",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.0-0ubuntu4",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.1-0ubuntu1~18.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.2-0ubuntu1~18.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.3-0ubuntu1~18.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.3-0ubuntu1~18.04.2",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.3-0ubuntu1~18.04.2+esm1",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.3-0ubuntu1~18.04.2+esm2",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.3-0ubuntu1~18.04.2+esm3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.0~git20170629.0.5ef0053-1ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "1:0.0~git20170629.0.5ef0053-1ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "1:0.0~git20170629.0.5ef0053-2",
"evidence": "/affected/2/versions"
},
{
"value": "1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
},
{
"value": "1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2",
"evidence": "/affected/2/versions"
},
{
"value": "1:0.0~git20170629.0.5ef0053-2ubuntu0.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~git20190701.4def268-2",
"evidence": "/affected/3/versions"
},
{
"value": "1:0.0~git20200221.2aa609c-1",
"evidence": "/affected/3/versions"
},
{
"value": "1:0.0~git20200221.2aa609c-1ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
},
{
"value": "1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2",
"evidence": "/affected/3/versions"
},
{
"value": "1:0.0~git20200221.2aa609c-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.0~git20201221.eec23a3-1",
"evidence": "/affected/4/versions"
},
{
"value": "1:0.0~git20211202.5770296-1",
"evidence": "/affected/4/versions"
},
{
"value": "1:0.0~git20211202.5770296-1ubuntu0.1~esm1",
"evidence": "/affected/4/versions"
},
{
"value": "1:0.0~git20211202.5770296-1ubuntu0.1~esm2",
"evidence": "/affected/4/versions"
},
{
"value": "1:0.0~git20211202.5770296-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.4.0-1",
"evidence": "/affected/5/versions"
},
{
"value": "1:0.17.0-1",
"evidence": "/affected/5/versions"
},
{
"value": "1:0.18.0-1",
"evidence": "/affected/5/versions"
},
{
"value": "1:0.19.0-1",
"evidence": "/affected/5/versions"
},
{
"value": "1:0.19.0-1ubuntu0.1~esm1",
"evidence": "/affected/5/versions"
},
{
"value": "1:0.19.0-1ubuntu0.1~esm2",
"evidence": "/affected/5/versions"
},
{
"value": "1:0.19.0-1ubuntu0.1~esm3",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.25.0-1",
"evidence": "/affected/6/versions"
},
{
"value": "1:0.25.0-1ubuntu0.1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.47.0-1",
"evidence": "/affected/7/versions"
},
{
"value": "1:0.55.0-1",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "golang-go.crypto",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:0.25.0-1",
"evidence": "/affected/8/versions"
},
{
"value": "1:0.45.0-1",
"evidence": "/affected/8/versions"
},
{
"value": "1:0.47.0-1",
"evidence": "/affected/8/versions"
},
{
"value": "1:0.47.0-1ubuntu0.1~esm1",
"evidence": "/affected/8/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2022-23806",
"aliases": [
"UBUNTU-CVE-2022-23806"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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-23806.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": "lxd",
"purl": "pkg:deb/ubuntu/lxd?arch=source&distro=esm-infra%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"2.18-0ubuntu6",
"2.19-0ubuntu1",
"2.20-0ubuntu3",
"2.20-0ubuntu4",
"2.21-0ubuntu1",
"2.21-0ubuntu2",
"2.21-0ubuntu3",
"2.21-0ubuntu4",
"3.0.0~beta2-0ubuntu3",
"3.0.0~beta3-0ubuntu3",
"3.0.0~beta5-0ubuntu2",
"3.0.0~beta7-0ubuntu1",
"3.0.0-0ubuntu1",
"3.0.0-0ubuntu2",
"3.0.0-0ubuntu3",
"3.0.0-0ubuntu4",
"3.0.1-0ubuntu1~18.04.1",
"3.0.2-0ubuntu1~18.04.1",
"3.0.3-0ubuntu1~18.04.1",
"3.0.3-0ubuntu1~18.04.2",
"3.0.3-0ubuntu1~18.04.2+esm1",
"3.0.3-0ubuntu1~18.04.2+esm2",
"3.0.3-0ubuntu1~18.04.2+esm3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23806.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "lxd",
"binary_version": "3.0.3-0ubuntu1~18.04.2+esm3"
},
{
"binary_name": "lxd-client",
"binary_version": "3.0.3-0ubuntu1~18.04.2+esm3"
},
{
"binary_name": "lxd-tools",
"binary_version": "3.0.3-0ubuntu1~18.04.2+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-23806.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-23806.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-23806.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-23806.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-23806.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-23806.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-23806.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-golang-x-crypto-dev",
"binary_version": "1:0.47.0-1ubuntu0.1~esm1"
}
]
}
}
],
"modified": "2026-10-17T12:56:02.213875462Z",
"provider": "osv",
"upstream": [
"CVE-2022-23806"
],
"references": [
"https://ubuntu.com/security/CVE-2022-23806",
"https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ",
"https://www.cve.org/CVERecord?id=CVE-2022-23806"
]
},
"related_cves": [
{
"value": "CVE-2022-23806",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354635,
"published_at": "2022-02-11T01:15:00+00:00"
}