CVE-2021-36219

Source
https://cve.org/CVERecord?id=CVE-2021-36219
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36219.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-36219
Published
2021-09-27T14:15:08.537Z
Modified
2026-07-09T06:01:53.287412Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in SKALE sgxwallet 1.58.3. The provided input for ECALL 14 triggers a branch in trustedEcdsaSign that frees a non-initialized pointer from the stack. An attacker can chain multiple enclave calls to prepare a stack that contains a valid address. This address is then freed, resulting in compromised integrity of the enclave. This was resolved after v1.58.3 and not reproducible in sgxwallet v1.77.0.

References

Affected packages

Git / github.com/skalenetwork/sgxwallet

Affected ranges

Type
GIT
Repo
https://github.com/skalenetwork/sgxwallet
Events
Database specific
{
    "cpe": "cpe:2.3:a:skale:sgxwallet:1.58.3:*:*:*:*:*:*:*",
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "1.58.3"
        },
        {
            "last_affected": "1.58.3"
        }
    ]
}

Affected versions

1.*
1.58.3
Other
build_base_1_58_3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36219.json"