Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-8936

An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allows an attacker to make a host call to UntrustedCall. UntrustedCall failed to validate the buffer range within sgx_params and allowed the host to return a pointer that was an address within the enclave memory. This allowed an attacker to read memory values from within the enclave.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-8936
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:41 UTC · Revision 1

Source evidence

CVE-2020-8936

core-osv · Original source

Published 15 Dec 2020, 15:15 UTC

An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allows an attacker to make a host call to UntrustedCall. UntrustedCall failed to validate the buffer range within sgx_params and allowed the host to return a pointer that was an address within the enclave memory. This allowed an attacker to read memory values from within the enclave.

osv:CVE-2020-8936
Complete source record
{
  "id": "c7a11d81be6efc4cfa4e02d08c6645c0999f5e541e6100dc69593124aa598652",
  "url": "https://osv.dev/vulnerability/CVE-2020-8936",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-8936",
    "summary": "An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allows an attacker to make a host call to UntrustedCall. UntrustedCall failed to validate the buffer range within sgx_params and allowed the host to return a pointer that was an address within the enclave memory. This allowed an attacker to read memory values from within the enclave.",
    "evidence": "osv:CVE-2020-8936",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-8936",
      "aliases": [
        "CVE-2020-8936"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/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"
                },
                {
                  "last_affected": "299f804acbb95a612ab7c504d25ab908aa59ae93"
                },
                {
                  "fixed": "83036fd841d33baa7e039f842d131aa7881fdcc2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:asylo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "83036fd841d33baa7e039f842d131aa7881fdcc2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.6.0",
            "buildenv-v0.6.0",
            "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-8936.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-8936-0ce685a3",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "249849551134861197772701074161590743093",
                    "288542086381598857212057362218517107524",
                    "229767768765419279177818205328034353549",
                    "298254167630889455123360114835833751118"
                  ]
                },
                "source": "https://github.com/google/asylo/commit/83036fd841d33baa7e039f842d131aa7881fdcc2",
                "target": {
                  "file": "asylo/platform/primitives/sgx/trusted_sgx.cc"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-8936-63b825ab",
                "digest": {
                  "length": 1047,
                  "function_hash": "63509712737912869867927962631554045034"
                },
                "source": "https://github.com/google/asylo/commit/83036fd841d33baa7e039f842d131aa7881fdcc2",
                "target": {
                  "file": "asylo/platform/primitives/sgx/trusted_sgx.cc",
                  "function": "TrustedPrimitives::UntrustedCall"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:14:05Z"
          }
        }
      ],
      "modified": "2026-10-20T14:14:05.354070114Z",
      "provider": "osv",
      "references": [
        "https://github.com/google/asylo/commit/83036fd841d33baa7e039f842d131aa7881fdcc2"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-8936",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388737,
  "published_at": "2020-12-15T15:15:13.127+00:00"
}