Critical
Security advisory
Baidu Rust SGX SDK through 1.0.8 has an enclave ID race. There are non-deterministic results in which, sometimes, two global IDs are the same.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-5499
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:24 UTC · Revision 1
Source evidence
Baidu Rust SGX SDK through 1.0.8 has an enclave ID race. There are non-deterministic results in which, sometimes, two global IDs are the same.
osv:CVE-2020-5499
Complete source record
{
"id": "8b1967f71c22b68426650b24059dea4c20d4c36b4f79c80119160b72b2cc0e0b",
"url": "https://osv.dev/vulnerability/CVE-2020-5499",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-5499",
"summary": "Baidu Rust SGX SDK through 1.0.8 has an enclave ID race. There are non-deterministic results in which, sometimes, two global IDs are the same.",
"evidence": "osv:CVE-2020-5499",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-5499",
"aliases": [
"CVE-2020-5499"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/teaclave-sgx-sdk",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "bc2d7e245679423312be2deb51701587b4070681"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:rust_sgx_sdk:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.0.8"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.0.8",
"v1.0.7",
"v1.0.6",
"v1.0.5",
"v1.0.4",
"v1.0.1",
"v0.9.7",
"v0.9.6",
"v0.9.5-fix",
"v0.9.5",
"v0.9.1",
"v0.2.0",
"April-Release"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5499.json"
}
}
],
"modified": "2026-10-24T10:30:28.330817900Z",
"provider": "osv",
"references": [
"https://github.com/wssgcsc58/CVEs/tree/master/baidurustsgxsdk_enclaveid_race"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-5499",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 432025,
"published_at": "2020-01-04T07:15:11.147+00:00"
}