Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-8942

An arbitrary memory read vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to enc_untrusted_read whose return size was not validated against the requrested size. The parameter size is unchecked allowing the attacker to read memory locations outside of the intended buffer size including memory addresses within the secure enclave. We recommend upgrading past commit b1d120a2c7d7446d2cc58d517e20a1b184b82200

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

Source evidence

CVE-2020-8942

core-osv · Original source

Published 15 Dec 2020, 15:15 UTC

An arbitrary memory read vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to enc_untrusted_read whose return size was not validated against the requrested size. The parameter size is unchecked allowing the attacker to read memory locations outside of the intended buffer size including memory addresses within the secure enclave. We recommend upgrading past commit b1d120a2c7d7446d2cc58d517e20a1b184b82200

osv:CVE-2020-8942
Complete source record
{
  "id": "c4134fd5c52b9fcd747d7508e7182d27e2f415e5e60e81f0aa829476cadaed32",
  "url": "https://osv.dev/vulnerability/CVE-2020-8942",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-8942",
    "summary": "An arbitrary memory read vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to enc_untrusted_read whose return size was not validated against the requrested size. The parameter size is unchecked allowing the attacker to read memory locations outside of the intended buffer size including memory addresses within the secure enclave. We recommend upgrading past commit b1d120a2c7d7446d2cc58d517e20a1b184b82200",
    "evidence": "osv:CVE-2020-8942",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-8942",
      "aliases": [
        "CVE-2020-8942"
      ],
      "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": "b1d120a2c7d7446d2cc58d517e20a1b184b82200"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:asylo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b1d120a2c7d7446d2cc58d517e20a1b184b82200"
                      }
                    ],
                    "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-8942.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-8942-799a829f",
                "digest": {
                  "length": 170,
                  "function_hash": "286188060617969713134691840668857726043"
                },
                "source": "https://github.com/google/asylo/commit/b1d120a2c7d7446d2cc58d517e20a1b184b82200",
                "target": {
                  "file": "asylo/platform/host_call/trusted/host_calls.cc",
                  "function": "enc_untrusted_read"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-8942-eb21fd70",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "169055635527515069807700832326285879920",
                    "154869453952709800637825808826408515286",
                    "181048328170087080058939355433701546269",
                    "111003065318683867700849633301437594357",
                    "335203860361179354144351810048345585024"
                  ]
                },
                "source": "https://github.com/google/asylo/commit/b1d120a2c7d7446d2cc58d517e20a1b184b82200",
                "target": {
                  "file": "asylo/platform/host_call/trusted/host_calls.cc"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:54:05Z"
          }
        }
      ],
      "modified": "2026-10-20T13:54:05.883834833Z",
      "provider": "osv",
      "references": [
        "https://github.com/google/asylo/commit/b1d120a2c7d7446d2cc58d517e20a1b184b82200"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-8942",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388359,
  "published_at": "2020-12-15T15:15:13.567+00:00"
}