Skip to content

Socket syscalls can leak enclave memory contents

Moderate
radhikaj published GHSA-525h-wxcc-f66m Oct 12, 2020

Package

No package listed

Affected versions

< 0.12.0

Patched versions

0.12.0

Description

Impact

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.

Patches

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.

Workarounds

Aside from not linking in the socket.edl syscall implementation, no workarounds have been identified.

Acknowledgements

Qinkun Bao (Baidu Security)
Zhaofeng Chen (Baidu Security)
Mingshen Sun (Baidu Security)
Kang Li (Baidu Security)

For more information

If you have any questions or comments about this advisory:

Severity

Moderate

CVE ID

CVE-2020-15224

Weaknesses

No CWEs