Security advisory
A buffer length validation vulnerability in Asylo versions prior to 0.6.0 allows an attacker to read data they should not have access to. The 'enc_untrusted_recvfrom' function generates a return value which is deserialized by 'MessageReader', and copied into three different 'extents'. The length of the third 'extents' is controlled by the outside world, and not verified on copy, allowing the attacker to force Asylo to copy trusted memory data into an untrusted buffer of significantly small length.. We recommend updating Asylo to version 0.6.0 or later.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-8905
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:41 UTC · Revision 1
Source evidence
A buffer length validation vulnerability in Asylo versions prior to 0.6.0 allows an attacker to read data they should not have access to. The 'enc_untrusted_recvfrom' function generates a return value which is deserialized by 'MessageReader', and copied into three different 'extents'. The length of the third 'extents' is controlled by the outside world, and not verified on copy, allowing the attacker to force Asylo to copy trusted memory data into an untrusted buffer of significantly small length.. We recommend updating Asylo to version 0.6.0 or later.
osv:CVE-2020-8905
Complete source record
{
"id": "b8aeec3d1df68b8d81d372c584f328cd154f43655629409ebb029a4b77514bb7",
"url": "https://osv.dev/vulnerability/CVE-2020-8905",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-8905",
"summary": "A buffer length validation vulnerability in Asylo versions prior to 0.6.0 allows an attacker to read data they should not have access to. The 'enc_untrusted_recvfrom' function generates a return value which is deserialized by 'MessageReader', and copied into three different 'extents'. The length of the third 'extents' is controlled by the outside world, and not verified on copy, allowing the attacker to force Asylo to copy trusted memory data into an untrusted buffer of significantly small length.. We recommend updating Asylo to version 0.6.0 or later.",
"evidence": "osv:CVE-2020-8905",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-8905",
"aliases": [
"CVE-2020-8905"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/google/asylo",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "299f804acbb95a612ab7c504d25ab908aa59ae93"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:google:asylo:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.6.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "299f804acbb95a612ab7c504d25ab908aa59ae93"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.5.3",
"buildenv-v0.5.3",
"v0.5.2",
"buildenv-v0.5.2",
"v0.5.1",
"buildenv-v0.5.1",
"v0.5.0",
"buildenv-v0.5.0",
"v0.4.1",
"buildenv-v0.4.1",
"v0.4.0",
"buildenv-v0.4.0",
"v0.3.4.1",
"v0.3.4",
"buildenv-v0.3.4",
"v0.3.3",
"buildenv-v0.3.3",
"v0.3.2",
"buildenv-v0.3.2",
"v0.3.1",
"buildenv-v0.3.1",
"v0.3.0",
"buildenv-v0.3.0",
"v0.2.2",
"buildenv-v0.2.2",
"v0.2.1",
"buildenv-v0.2.1",
"v0.2.0",
"buildenv-v0.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8905.json",
"vanir_signatures": [
{
"id": "CVE-2020-8905-6c5c34f2",
"digest": {
"threshold": 0.9,
"line_hashes": [
"206843566668820650509670967168184456061",
"80156147239961341313323500740088832576",
"199487815859305689901389025254287933562",
"164706716403506214144524274119973725632"
]
},
"source": "https://github.com/google/asylo/commit/299f804acbb95a612ab7c504d25ab908aa59ae93",
"target": {
"file": "asylo/platform/host_call/trusted/host_calls.cc"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2020-8905-da74cbf8",
"digest": {
"length": 1020,
"function_hash": "14747568182961413266336135363801043561"
},
"source": "https://github.com/google/asylo/commit/299f804acbb95a612ab7c504d25ab908aa59ae93",
"target": {
"file": "asylo/platform/host_call/trusted/host_calls.cc",
"function": "enc_untrusted_recvfrom"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:14:05Z"
}
}
],
"modified": "2026-10-20T14:14:05.767078230Z",
"provider": "osv",
"references": [
"https://github.com/google/asylo/commit/299f804acbb95a612ab7c504d25ab908aa59ae93"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-8905",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388739,
"published_at": "2020-08-12T19:15:14.67+00:00"
}