diff options
author | Emilia Kasper <emilia@openssl.org> | 2014-12-01 15:04:02 +0100 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2014-12-05 16:44:12 +0100 |
commit | f6e725e86816fa9301d87c25e3dff9de2ebb7176 (patch) | |
tree | 9c766796a08ff926647a3c47d6eca523aff734f9 /crypto/bn | |
parent | 7005eda3b6e4858233ec3d2a95ff3f5f28f8a484 (diff) |
Reject elliptic curve lists of odd lengths.
The Supported Elliptic Curves extension contains a vector of NamedCurves
of 2 bytes each, so the total length must be even. Accepting odd-length
lists was observed to lead to a non-exploitable one-byte out-of-bounds
read in the latest development branches (1.0.2 and master). Released
versions of OpenSSL are not affected.
Thanks to Felix Groebert of the Google Security Team for reporting this issue.
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 33d5ba862939ff8db70a9e36fc9a326fab3e8d98)
Diffstat (limited to 'crypto/bn')
0 files changed, 0 insertions, 0 deletions