9.8critical
An issue was discovered in SKALE sgxwallet 1.58.3.
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.70% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| skale sgxwallet | 1.58.3 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha detectado un problema en SKALE sgxwallet versión 1.58.3. La entrada proporcionada para ECALL 14 desencadena una rama en trustedEcdsaSign que libera un puntero no inicializado de la pila. Un atacante puede encadenar múltiples llamadas de enclave para preparar una pila que contenga una dirección válida. Esta dirección es entonces liberada, resultando en una integridad comprometida del enclave. Esto se resolvió después de la v1.58.3 y no es reproducible en sgxwallet versión v1.77.0
References
| https://github.com/skalenetwork/sgxwallet/releases | release-notes, third-party-advisory | |
| https://github.com/skalenetwork/sgxwallet/commit/4e9b5b7526db083177e81f8bafeaa4914d276a82 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-36219 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-36219 changed 2026-06-17 | Public domain |