Bug 1509169 (CVE-2017-3736) - CVE-2017-3736 openssl: bn_sqrx8x_internal carry bug on x86_64
Summary: CVE-2017-3736 openssl: bn_sqrx8x_internal carry bug on x86_64
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-3736
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1486146 1486147 1509854 1509905 1509906 1618719 1618720 1618721 1624844 1624845
Blocks: 1498774 1509173
TreeView+ depends on / blocked
 
Reported: 2017-11-03 09:20 UTC by Andrej Nemec
Modified: 2021-12-10 15:22 UTC (History)
51 users (show)

Fixed In Version: openssl 1.1.0g, openssl 1.0.2m
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:30:16 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0998 0 None None None 2018-04-10 08:39:18 UTC
Red Hat Product Errata RHSA-2018:2185 0 None None None 2018-07-12 16:17:58 UTC
Red Hat Product Errata RHSA-2018:2186 0 None None None 2018-07-12 16:15:54 UTC
Red Hat Product Errata RHSA-2018:2187 0 None None None 2018-07-12 16:06:12 UTC
Red Hat Product Errata RHSA-2018:2568 0 None None None 2018-08-27 14:20:39 UTC
Red Hat Product Errata RHSA-2018:2575 0 None None None 2018-08-28 19:19:03 UTC
Red Hat Product Errata RHSA-2018:2713 0 None None None 2018-09-17 14:54:15 UTC

Description Andrej Nemec 2017-11-03 09:20:59 UTC
There is a carry propagating bug in the x86_64 Montgomery squaring procedure. No
EC algorithms are affected. Analysis suggests that attacks against RSA and DSA
as a result of this defect would be very difficult to perform and are not
believed likely. Attacks against DH are considered just feasible (although very
difficult) because most of the work necessary to deduce information
about a private key may be performed offline. The amount of resources
required for such an attack would be very significant and likely only
accessible to a limited number of attackers. An attacker would
additionally need online access to an unpatched system using the target
private key in a scenario with persistent DH parameters and a private
key that is shared between multiple clients.

This only affects processors that support the BMI1, BMI2 and ADX extensions like
Intel Broadwell (5th generation) and later or AMD Ryzen.

Note: This issue is very similar to CVE-2017-3732 and CVE-2015-3193 but must be
treated as a separate problem.

External References:

https://www.openssl.org/news/secadv/20171102.txt

Comment 1 Andrej Nemec 2017-11-03 09:22:01 UTC
Created mingw-openssl tracking bugs for this issue:

Affects: fedora-all [bug 1486147]


Created openssl tracking bugs for this issue:

Affects: fedora-all [bug 1486146]

Comment 2 Huzaifa S. Sidhpurwala 2017-11-06 05:21:06 UTC
Upstream commit:

https://github.com/openssl/openssl/commit/668a709a8d7ea374ee72ad2d43ac72ec60a80eee

Comment 5 errata-xmlrpc 2018-04-10 08:39:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:0998 https://access.redhat.com/errata/RHSA-2018:0998

Comment 6 errata-xmlrpc 2018-07-12 16:05:49 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2018:2187 https://access.redhat.com/errata/RHSA-2018:2187

Comment 7 errata-xmlrpc 2018-07-12 16:15:33 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 6

Via RHSA-2018:2186 https://access.redhat.com/errata/RHSA-2018:2186

Comment 8 errata-xmlrpc 2018-07-12 16:17:40 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 7

Via RHSA-2018:2185 https://access.redhat.com/errata/RHSA-2018:2185

Comment 10 errata-xmlrpc 2018-08-27 14:20:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Supplementary

Via RHSA-2018:2568 https://access.redhat.com/errata/RHSA-2018:2568

Comment 11 errata-xmlrpc 2018-08-28 19:18:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Supplementary

Via RHSA-2018:2575 https://access.redhat.com/errata/RHSA-2018:2575

Comment 13 errata-xmlrpc 2018-09-17 14:53:52 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 5.8

Via RHSA-2018:2713 https://access.redhat.com/errata/RHSA-2018:2713


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