Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22552

An untrusted memory read vulnerability in Asylo versions up to 0.6.1 allows an untrusted attacker to pass a syscall number in MessageReader that is then used by sysno() and can bypass validation. This can allow the attacker to read memory from within the secure enclave. We recommend updating to Asylo 0.6.3 or past https://github.com/google/asylo/commit/90d7619e9dd99bcdb6cd28c7649d741d254d9a1a

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

Source evidence

CVE-2021-22552

core-osv · Original source

Published 2 Aug 2021, 16:15 UTC

An untrusted memory read vulnerability in Asylo versions up to 0.6.1 allows an untrusted attacker to pass a syscall number in MessageReader that is then used by sysno() and can bypass validation. This can allow the attacker to read memory from within the secure enclave. We recommend updating to Asylo 0.6.3 or past https://github.com/google/asylo/commit/90d7619e9dd99bcdb6cd28c7649d741d254d9a1a

osv:CVE-2021-22552
Complete source record
{
  "id": "3e18edacf976a665aca991a452aea50e768b909e4d89081d06bfbbc816890f9d",
  "url": "https://osv.dev/vulnerability/CVE-2021-22552",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22552",
    "summary": "An untrusted memory read vulnerability in Asylo versions up to 0.6.1 allows an untrusted attacker to pass a syscall number in MessageReader that is then used by sysno() and can bypass validation. This can allow the attacker to read memory from within the secure enclave. We recommend updating to Asylo 0.6.3 or past https://github.com/google/asylo/commit/90d7619e9dd99bcdb6cd28c7649d741d254d9a1a",
    "evidence": "osv:CVE-2021-22552",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-22552",
      "aliases": [
        "CVE-2021-22552"
      ],
      "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": "17169aad236c61f5290528b6c05cc714463d02f4"
                },
                {
                  "fixed": "90d7619e9dd99bcdb6cd28c7649d741d254d9a1a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:asylo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.6.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "90d7619e9dd99bcdb6cd28c7649d741d254d9a1a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.6.1",
            "buildenv-v0.6.1",
            "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-2021-22552.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-22552-9a21f5ce",
                "digest": {
                  "length": 2217,
                  "function_hash": "135803722592334962389266461099265418365"
                },
                "source": "https://github.com/google/asylo/commit/90d7619e9dd99bcdb6cd28c7649d741d254d9a1a",
                "target": {
                  "file": "asylo/platform/system_call/system_call.cc",
                  "function": "enc_untrusted_syscall"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22552-9c773ff8",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "188814768948624246284165097045374109059",
                    "318325663397942036138718595093274855716",
                    "117362229874402543323080661403110076872",
                    "105653472901708474773495083639344234908"
                  ]
                },
                "source": "https://github.com/google/asylo/commit/90d7619e9dd99bcdb6cd28c7649d741d254d9a1a",
                "target": {
                  "file": "asylo/platform/system_call/system_call.cc"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:23:27Z"
          }
        }
      ],
      "modified": "2026-10-20T14:23:27.705802693Z",
      "provider": "osv",
      "references": [
        "https://github.com/google/asylo/commit/90d7619e9dd99bcdb6cd28c7649d741d254d9a1a"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22552",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388868,
  "published_at": "2021-08-02T16:15:07.817+00:00"
}