SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2021-36219

An attacker can chain multiple enclave calls to prepare a stack that contains a valid address.

CRITICAL 9.8EPSS 1.70%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (1.70%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.70% probability · 76th percentile
CISA KEV
Not listed
Weakness
CWE-824
Affected
skale/sgxwallet
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.