7th April 2014A missing bounds check in the handling of the TLS heartbeat extension can be used to reveal up to 64kB of memory to a connected client or server. This issue did not affect versions of OpenSSL prior to 1.0.1. Reported by Neel Mehta.Fixed in OpenSSL 1.0.1g (Affected 1.0.1f, 1.0.1e, 1.0.1d, 1.0.1c, 1.0.1b, 1.0.1a, 1.0.1)
configure:#include <openssl/ssl.h>
configure:#include <openssl/ssl.h>
configure:#include <openssl/err.h>
configure:#include <openssl/err.h>
contrib/sslinfo/sslinfo.c:#include <openssl/x509.h>
contrib/sslinfo/sslinfo.c:#include <openssl/asn1.h>
contrib/pgcrypto/openssl.c:#include <openssl/evp.h>
contrib/pgcrypto/openssl.c:#include <openssl/blowfish.h>
contrib/pgcrypto/openssl.c:#include <openssl/cast.h>
contrib/pgcrypto/openssl.c:#include <openssl/des.h>
contrib/pgcrypto/openssl.c:#include <openssl/rand.h>
contrib/pgcrypto/openssl.c:#include <openssl/err.h>
contrib/pgcrypto/openssl.c:#include <openssl/aes.h>
contrib/pgcrypto/pgp-mpi-openssl.c:#include <openssl/bn.h>
doc/src/sgml/libpq.sgml:#include <openssl/ssl.h>
doc/src/sgml/html/libpq-status.html:#include <openssl/ssl.h>
src/interfaces/libpq/fe-secure.c:#include <openssl/ssl.h>
src/interfaces/libpq/fe-secure.c:#include <openssl/conf.h>
src/interfaces/libpq/fe-secure.c:#include <openssl/engine.h>
src/interfaces/libpq/libpq-int.h:#include <openssl/ssl.h>
src/interfaces/libpq/libpq-int.h:#include <openssl/err.h>
src/tools/msvc/Solution.pm: $proj->AddIncludeDir($self->{options}->{openssl} . '\include');
src/include/pg_config.h.win32:/* Define to build with (Open)SSL support. (--with-openssl) */
src/include/pg_config.h:/* Define to build with (Open)SSL support. (--with-openssl) */
src/include/libpq/libpq-be.h:#include <openssl/ssl.h>
src/include/libpq/libpq-be.h:#include <openssl/err.h>
src/include/pg_config.h.in:/* Define to build with (Open)SSL support. (--with-openssl) */
src/bin/psql/command.c:#include <openssl/ssl.h>
src/backend/postmaster/fork_process.c:#include <openssl/rand.h>
src/backend/libpq/auth.c:#include <openssl/rand.h>
src/backend/libpq/be-secure.c:#include <openssl/ssl.h>
src/backend/libpq/be-secure.c:#include <openssl/dh.h>
src/backend/libpq/be-secure.c:#include <openssl/conf.h>