CVE-2021-36219
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
skale sgxwallet1.58.3NVD

All scores

NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-36219 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-36219 changed 2026-06-17Public domain