CVE-2014-0160 Heartbleed: Unsanitized Payload Length in TLS Heartbeat Processing
de29a601-1978-4880-be94-f07a9e0dbe7b
The TLS heartbeat extension in OpenSSL 1.0.1 through 1.0.1f contains a critical out-of-bounds read vulnerability (CVE-2014-0160, known as Heartbleed). The vulnerability exists in the tls1_process_heartbeat() function which processes incoming TLS heartbeat requests. The function reads a 2-byte payload length directly from untrusted client-supplied data and uses this unsanitized length value to determine how many bytes to copy from a buffer, without verifying that the actual received data contains that many bytes. This allows an attacker to read arbitrary amounts of server memory by claiming a large payload length in a small heartbeat packet, causing the server to leak sensitive data including private keys, session tokens, and other confidential information.",antml:parameter>