Files
openssl/include/openssl
Emilia Kasper 380f18ed5f CVE-2016-0798: avoid memory leak in SRP
The SRP user database lookup method SRP_VBASE_get_by_user had confusing
memory management semantics; the returned pointer was sometimes newly
allocated, and sometimes owned by the callee. The calling code has no
way of distinguishing these two cases.

Specifically, SRP servers that configure a secret seed to hide valid
login information are vulnerable to a memory leak: an attacker
connecting with an invalid username can cause a memory leak of around
300 bytes per connection.

Servers that do not configure SRP, or configure SRP but do not configure
a seed are not vulnerable.

In Apache, the seed directive is known as SSLSRPUnknownUserSeed.

To mitigate the memory leak, the seed handling in SRP_VBASE_get_by_user
is now disabled even if the user has configured a seed.

Applications are advised to migrate to SRP_VBASE_get1_by_user. However,
note that OpenSSL makes no strong guarantees about the
indistinguishability of valid and invalid logins. In particular,
computations are currently not carried out in constant time.

Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-25 15:42:48 +01:00
..
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-02-11 12:40:32 -05:00
2016-01-26 16:40:43 -05:00
2016-02-02 17:17:38 +00:00
2016-02-01 16:21:57 +01:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2015-05-12 10:24:48 -04:00
2016-01-26 16:40:43 -05:00
2016-02-15 16:25:10 +01:00
2016-02-19 10:03:49 -05:00
2016-01-27 19:05:50 -05:00
2016-01-29 11:53:32 +00:00
2016-01-26 16:40:43 -05:00
2016-02-05 15:25:50 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2015-12-09 22:09:20 +00:00
2015-12-09 22:09:20 +00:00
2016-02-17 17:04:47 -05:00
2016-01-26 16:40:43 -05:00
2016-01-27 19:05:50 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-01-28 09:18:21 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-02-04 14:10:52 +00:00
2016-01-26 16:40:43 -05:00
2016-02-05 15:25:50 -05:00
2016-02-22 10:00:47 -05:00
2016-02-15 19:37:42 +01:00
2016-02-11 08:43:46 -05:00
2016-01-26 16:40:43 -05:00
2016-02-23 08:42:03 -05:00
2016-02-08 19:10:12 +00:00
2016-01-26 16:40:43 -05:00
2016-01-27 19:05:50 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-02-25 15:42:48 +01:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-02-10 14:36:32 +01:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-02-05 15:25:50 -05:00
2016-01-26 16:40:43 -05:00