Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1412120 - (CVE-2016-7056) CVE-2016-7056 openssl: ECDSA P-256 timing attack key recovery
CVE-2016-7056 openssl: ECDSA P-256 timing attack key recovery
Status: NEW
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=20170110,repor...
: Security
Depends On: 1412125 1412126 1412127 1422053 1422054
Blocks: 1412130 1457678
  Show dependency treegraph
 
Reported: 2017-01-11 05:09 EST by Andrej Nemec
Modified: 2018-10-19 17:39 EDT (History)
44 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A timing attack flaw was found in OpenSSL that could allow a malicious user with local access to recover ECDSA P-256 private keys.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1413 normal SHIPPED_LIVE Important: Red Hat JBoss Core Services Apache HTTP Server 2.4.23 Service Pack 1 for RHEL 7 2017-06-07 17:54:35 EDT
Red Hat Product Errata RHSA-2017:1414 normal SHIPPED_LIVE Important: Red Hat JBoss Core Services Apache HTTP Server 2.4.23 Service Pack 1 for RHEL 6 2017-06-07 17:54:17 EDT
Red Hat Product Errata RHSA-2017:1415 normal SHIPPED_LIVE Important: Red Hat JBoss Core Services Apache HTTP Server 2.4.23 Service Pack 1 2017-06-07 17:43:43 EDT

  None (edit)
Description Andrej Nemec 2017-01-11 05:09:24 EST
The signing function in crypto/ecdsa/ecdsa_ossl.c in certain OpenSSL versions and forks is vulnerable to timing attacks when signing with the standardized elliptic curve P-256 despite featuring constant-time curve operations and modular inversion. A software defect omits setting the BN_FLG_CONSTTIME flag for nonces, failing to take a secure code path in the BN_mod_inverse method and therefore resulting in a cache-timing attack vulnerability. A malicious user with local access can recover ECDSA P-256 private keys.

References:

http://seclists.org/oss-sec/2017/q1/52
http://eprint.iacr.org/2016/1195
Comment 1 Andrej Nemec 2017-01-11 05:18:00 EST
Created openssl101e tracking bugs for this issue:

Affects: epel-5 [bug 1412127]
Comment 2 Andrej Nemec 2017-01-11 05:18:19 EST
Created openssl tracking bugs for this issue:

Affects: fedora-all [bug 1412125]
Comment 3 Andrej Nemec 2017-01-11 05:18:34 EST
Created mingw-openssl tracking bugs for this issue:

Affects: fedora-all [bug 1412126]
Comment 4 Tomas Mraz 2017-01-11 05:22:02 EST
OpenSSL in Fedora is at 1.0.2j and 1.1.0c so it should be  fixed already.
Comment 6 Huzaifa S. Sidhpurwala 2017-01-12 03:41:54 EST
Statement:

In order to exploit this flaw, the attacker needs to be have local (shell) access to the machine where the message is being signed using the ECDSA algorithm with a P-256 elliptic curve key. Then using cache timing attacks (which needs precise timing), on multiple signature runs, the private key could be obtained. Based on the factor that exploitation is difficult, Red Hat Product Security Team has rated this flaw as having Moderate impact. A further security release may address this flaw.
Comment 12 errata-xmlrpc 2017-06-07 13:46:07 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2017:1415 https://access.redhat.com/errata/RHSA-2017:1415
Comment 13 errata-xmlrpc 2017-06-07 13:57:59 EDT
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 6

Via RHSA-2017:1414 https://access.redhat.com/errata/RHSA-2017:1414
Comment 14 errata-xmlrpc 2017-06-07 14:00:39 EDT
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 7

Via RHSA-2017:1413 https://access.redhat.com/errata/RHSA-2017:1413

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