Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-8939

An out of bounds read on the enc_untrusted_inet_ntop function allows an attack to extend the result size that is used by memcpy() to read memory from within the enclave heap. We recommend upgrading past commit 6ff3b77ffe110a33a2f93848a6333f33616f02c4

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

Source evidence

CVE-2020-8939

core-osv · Original source

Published 15 Dec 2020, 15:15 UTC

An out of bounds read on the enc_untrusted_inet_ntop function allows an attack to extend the result size that is used by memcpy() to read memory from within the enclave heap. We recommend upgrading past commit 6ff3b77ffe110a33a2f93848a6333f33616f02c4

osv:CVE-2020-8939
Complete source record
{
  "id": "bb4c3da8d02c44afbeb61c24ecf0df4804f023c30b9b29d793667dad6d7c925c",
  "url": "https://osv.dev/vulnerability/CVE-2020-8939",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-8939",
    "summary": "An out of bounds read on the enc_untrusted_inet_ntop function allows an attack to extend the result size that is used by memcpy() to read memory from within the enclave heap. We recommend upgrading past commit 6ff3b77ffe110a33a2f93848a6333f33616f02c4",
    "evidence": "osv:CVE-2020-8939",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-8939",
      "aliases": [
        "CVE-2020-8939"
      ],
      "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": "6ff3b77ffe110a33a2f93848a6333f33616f02c4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:asylo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6ff3b77ffe110a33a2f93848a6333f33616f02c4"
                      }
                    ],
                    "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-8939.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-8939-8b91fab6",
                "digest": {
                  "length": 991,
                  "function_hash": "135038296171550800255256998280934211969"
                },
                "source": "https://github.com/google/asylo/commit/6ff3b77ffe110a33a2f93848a6333f33616f02c4",
                "target": {
                  "file": "asylo/platform/host_call/trusted/host_calls.cc",
                  "function": "enc_untrusted_inet_ntop"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-8939-8dfe20e5",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "153814041358479376129214332076057155395",
                    "45922329269225053110307145393781663788",
                    "120923426945754041805254235783950991193",
                    "79748621226130253570625482495852408872",
                    "242354140484151961163145778075231999227",
                    "153518137929070858687433313067831900743"
                  ]
                },
                "source": "https://github.com/google/asylo/commit/6ff3b77ffe110a33a2f93848a6333f33616f02c4",
                "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:06Z"
          }
        }
      ],
      "modified": "2026-10-20T13:54:06.277568624Z",
      "provider": "osv",
      "references": [
        "https://github.com/google/asylo/commit/6ff3b77ffe110a33a2f93848a6333f33616f02c4"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-8939",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388361,
  "published_at": "2020-12-15T15:15:13.363+00:00"
}