PT-2021-21183 · Skale · Skale Sgxwallet
Published
2021-09-27
·
Updated
2021-10-01
·
CVE-2021-36219
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
SKALE sgxwallet versions 1.58.3 through 1.76.x
Description
An issue was discovered in SKALE sgxwallet where 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.Recommendations
For SKALE sgxwallet versions 1.58.3 through 1.76.x, update to version 1.77.0 or later to resolve the issue.
As a temporary workaround, consider restricting access to the
ECALL 14 endpoint until a patch is available.Fix
Access of Uninitialized Pointer
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Skale Sgxwallet