CVE-2018-20742 Memory corruption in n/a
Missing boundary checks in ocall_malloc allow arbitrary enclave memory writes, potentially leading to code execution or privilege escalation within the RISE Opaque library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-20742?
CVE-2018-20742 is a high-severity memory corruption vulnerability in n/a, published on 24 Jan 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in UC Berkeley RISE Opaque before 2018-12-01. There is no boundary check on ocall_malloc. The return value could be a pointer to enclave memory. It could cause an arbitrary enclave memory write.
Weakness: CWE-787
Which versions are affected by CVE-2018-20742?
It affects 1 product.
Products include Ucbrise Opaque.
How do I fix CVE-2018-20742?
No fix has been published for CVE-2018-20742 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-20742 being exploited?
There is no known exploitation of CVE-2018-20742 in the wild and no public exploit code.
Sources
Also known as GHSA-32w7-6rgv-w2xg.