CVE-2021-22552

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-22552
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-22552.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-22552
Published
2021-08-02T16:15:07.817Z
Modified
2025-11-14T11:27:48.103238Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/google/asylo

Affected ranges

Type
GIT
Repo
https://github.com/google/asylo
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

buildenv-v0.*

buildenv-v0.2.0
buildenv-v0.2.1
buildenv-v0.2.2
buildenv-v0.3.0
buildenv-v0.3.1
buildenv-v0.3.2
buildenv-v0.3.3
buildenv-v0.3.4
buildenv-v0.4.0
buildenv-v0.4.1
buildenv-v0.5.0
buildenv-v0.5.1
buildenv-v0.5.2
buildenv-v0.5.3
buildenv-v0.6.0
buildenv-v0.6.1
buildenv-v0.6.2

v0.*

v0.2.0
v0.2.1
v0.2.2
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.4.1
v0.4.0
v0.4.1
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.6.0
v0.6.1
v0.6.2

Database specific

vanir_signatures

[
    {
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Function",
        "digest": {
            "function_hash": "135803722592334962389266461099265418365",
            "length": 2217.0
        },
        "target": {
            "file": "asylo/platform/system_call/system_call.cc",
            "function": "enc_untrusted_syscall"
        },
        "id": "CVE-2021-22552-9a21f5ce",
        "source": "https://github.com/google/asylo/commit/90d7619e9dd99bcdb6cd28c7649d741d254d9a1a"
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "188814768948624246284165097045374109059",
                "318325663397942036138718595093274855716",
                "117362229874402543323080661403110076872",
                "105653472901708474773495083639344234908"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "asylo/platform/system_call/system_call.cc"
        },
        "id": "CVE-2021-22552-9c773ff8",
        "source": "https://github.com/google/asylo/commit/90d7619e9dd99bcdb6cd28c7649d741d254d9a1a"
    }
]