Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1228600 - (CVE-2015-1788) CVE-2015-1788 OpenSSL: Malformed ECParameters causes infinite loop
CVE-2015-1788 OpenSSL: Malformed ECParameters causes infinite loop
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150611,repor...
: Security
Depends On: 1228620 1228621
Blocks: 1227577
  Show dependency treegraph
 
Reported: 2015-06-05 06:08 EDT by Huzaifa S. Sidhpurwala
Modified: 2017-07-17 09:07 EDT (History)
22 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
It was reported that OpenSSL could enter an infinite loop when processing an ECParameters structure if the curve specified is over a specially malformed binary polynomial field. This can be used to perform denial of service attacks against any system which processes public keys, certificate requests or certificates, including TLS clients and TLS servers with client authentication enabled.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-06-09 02:20:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch for CVE-2015-1788 (1.23 KB, patch)
2015-06-05 06:27 EDT, Huzaifa S. Sidhpurwala
no flags Details | Diff

  None (edit)
Description Huzaifa S. Sidhpurwala 2015-06-05 06:08:57 EDT
The following was reported by OpenSSL upstream:

When processing an ECParameters structure OpenSSL enters an infinite loop if
the curve specified is over a specially malformed binary polynomial field.

This can be used to perform denial of service against any
system which processes public keys, certificate requests or
certificates.  This includes TLS clients and TLS servers with
client authentication enabled.

This issue affects OpenSSL versions: 1.0.2 and 1.0.1. Recent
1.0.0 and 0.9.8 versions are not affected. 1.0.0d and 0.9.8r and below are
affected.

OpenSSL 1.0.2 users should upgrade to 1.0.2b
OpenSSL 1.0.1 users should upgrade to 1.0.1n
OpenSSL 1.0.0d (and below) users should upgrade to 1.0.0s
OpenSSL 0.9.8r (and below) users should upgrade to 0.9.8zg

This issue was reported to OpenSSL on 6th April 2015 by Joseph Birr-Pixton. The
fix was developed by Andy Polyakov of the OpenSSL development team.

Acknowledgements:

Red Hat would like to thank the OpenSSL project for reporting this issue.
Comment 1 Huzaifa S. Sidhpurwala 2015-06-05 06:27:47 EDT
Created attachment 1035150 [details]
Proposed patch for CVE-2015-1788
Comment 2 Tomas Mraz 2015-06-08 11:07:15 EDT
Note that this issue does not affect RHEL and Fedora as we remove the ECC support for the binary curves (GF(2m)).
Comment 4 Huzaifa S. Sidhpurwala 2015-06-09 02:16:14 EDT
Statement:

Not vulnerable. This issue does not affect the versions of openssl package as shipped with Red Hat Enterprise Linux 5, 6 and 7.
Comment 5 Huzaifa S. Sidhpurwala 2015-06-09 02:20:24 EDT
This issue does not affect the versions of openssl package as shipped with Fedora 21 and 22.
Comment 7 Huzaifa S. Sidhpurwala 2015-06-12 00:20:27 EDT
Public via:

https://www.openssl.org/news/secadv_20150611.txt

Upstream commits:

OpenSSL-1.0.1:
https://github.com/openssl/openssl/commit/f61bbf8da532038ed0eae16a9a11771f3da22d30
Comment 8 Tomas Hoger 2015-06-15 08:33:00 EDT
A blog post about this issue form the original reporter, which also provides a reproducer:

https://jbp.io/2015/06/11/cve-2015-1788-openssl-binpoly-hang/

Note You need to log in before you can comment on or make changes to this bug.