VYPR
Unrated severityNVD Advisory· Published Dec 15, 2020· Updated Aug 4, 2024

Unchecked buffer overrun in enc_untrusted_recvmsg

CVE-2020-8940

Description

An arbitrary memory read vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to enc_untrusted_recvmsg using an attacker controlled result parameter. The parameter size is unchecked allowing the attacker to read memory locations outside of the intended buffer size including memory addresses within the secure enclave. We recommend upgrading or past commit fa6485c5d16a7355eab047d4a44345a73bc9131e

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Asylo up to 0.6.0 allows arbitrary memory read via unchecked result size in enc_untrusted_recvmsg, potentially disclosing secure enclave memory.

Vulnerability

Asylo versions up to 0.6.0 contain an arbitrary memory read vulnerability in the enc_untrusted_recvmsg function. When an untrusted attacker makes a call to this function with a controlled result parameter, the size of the result is not properly checked against the allocated buffer. This allows reading memory beyond the intended buffer boundary [1]. The vulnerable code is in asylo/platform/host_call/trusted/host_calls.cc at line 822 where the result is returned without validation against total_buffer_size [1].

Exploitation

An attacker needs to be able to make a call to enc_untrusted_recvmsg from an untrusted context, controlling the result parameter. By crafting a call where the result size exceeds the buffer size, the attacker can read arbitrary memory. No special privileges beyond untrusted user-level access are required; the vulnerability lies in the missing bounds check [1].

Impact

Successful exploitation allows an untrusted attacker to read arbitrary memory locations, including memory addresses within the secure enclave. This directly leads to information disclosure of sensitive data that should be protected by the enclave boundary [1].

Mitigation

Asylo is now archived and read-only. The fix was committed in commit fa6485c5d16a7355eab047d4a44345a73bc9131e, which adds a check that aborts if result > total_buffer_size [1]. Users should upgrade to a version containing this commit or apply the patch manually. No CISA KEV listing was identified.

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Google/asylollm-fuzzy
    Range: <=0.6.0
  • Google LLC/Asylov5
    Range: unspecified

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.