CVEvulnerability
CVE-2021-36219
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-09-27
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-824
Description
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.
Affected configurations
• skale sgxwallet 1.58.3
Related
Weakness · CWE (1)
- CWE-824 Access of Uninitialized Pointer weakness
References
- https://github.com/skalenetwork/sgxwallet/commit/4e9b5b7526db083177e81f8bafeaa4914d276a82 Patch, Third Party Advisory
- https://github.com/skalenetwork/sgxwallet/releases Release Notes, Third Party Advisory
- https://github.com/skalenetwork/sgxwallet/commit/4e9b5b7526db083177e81f8bafeaa4914d276a82 Patch, Third Party Advisory
- https://github.com/skalenetwork/sgxwallet/releases Release Notes, Third Party Advisory