Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-8935

An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allow an attacker to make an Ecall_restore function call to reallocate untrusted code and overwrite sections of the Enclave memory address. We recommend updating your library.

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

Source evidence

CVE-2020-8935

core-osv · Original source

Published 15 Dec 2020, 15:15 UTC

An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allow an attacker to make an Ecall_restore function call to reallocate untrusted code and overwrite sections of the Enclave memory address. We recommend updating your library.

osv:CVE-2020-8935
Complete source record
{
  "id": "2ad30cbf913048c1113cf578414d690e6a28641a29fb8f2c685d7682f2bb9995",
  "url": "https://osv.dev/vulnerability/CVE-2020-8935",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-8935",
    "summary": "An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allow an attacker to make an Ecall_restore function call to reallocate untrusted code and overwrite sections of the Enclave memory address. We recommend updating your library.",
    "evidence": "osv:CVE-2020-8935",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-8935",
      "aliases": [
        "CVE-2020-8935"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/google/asylo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "299f804acbb95a612ab7c504d25ab908aa59ae93"
                },
                {
                  "fixed": "ed0926bff0e423cd122a18b3d2fc772817f66825"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:asylo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ed0926bff0e423cd122a18b3d2fc772817f66825"
                      }
                    ],
                    "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-8935.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-8935-bc57d05a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "330936869301037059737793362845294373946",
                    "154509550783807851087753276324588402993",
                    "112634774847455835941553074213750942069",
                    "42612531078368980209211864332224132916"
                  ]
                },
                "source": "https://github.com/google/asylo/commit/ed0926bff0e423cd122a18b3d2fc772817f66825",
                "target": {
                  "file": "asylo/platform/host_call/trusted/host_calls.cc"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-8935-cd60b6c4",
                "digest": {
                  "length": 528,
                  "function_hash": "232489973061455759931858895176426134338"
                },
                "source": "https://github.com/google/asylo/commit/ed0926bff0e423cd122a18b3d2fc772817f66825",
                "target": {
                  "file": "asylo/platform/host_call/trusted/host_calls.cc",
                  "function": "enc_untrusted_realloc"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:54:05Z"
          }
        }
      ],
      "modified": "2026-10-20T13:54:05.508468019Z",
      "provider": "osv",
      "references": [
        "https://github.com/google/asylo/commit/ed0926bff0e423cd122a18b3d2fc772817f66825"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-8935",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388358,
  "published_at": "2020-12-15T15:15:12.987+00:00"
}