Bug 1304303 (CVE-2015-8803)

Summary: CVE-2015-8803 nettle: secp256 calculation bug
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: carnil, dwmw2, klember, mike, nmavrogi, pwouters, slawomir, tmraz
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nettle 3.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 21:59:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1304304, 1304305, 1304306, 1304307, 1304308, 1305766, 1314374    
Bug Blocks: 1304384    
Attachments:
Description Flags
Test case none

Description Andrej Nemec 2016-02-03 09:52:35 UTC
A mistake in the computation of elliptic curve scalar multiplications was found in nettle. The computation compiles a certain curve point with 1, which should not change the coordinates, however it does.

External reference:

https://lists.lysator.liu.se/pipermail/nettle-bugs/2015/003028.html

Upstream fix:

https://git.lysator.liu.se/nettle/nettle/commit/c71d2c9d20eeebb985e3872e4550137209e3ce4d

Comment 1 Andrej Nemec 2016-02-03 09:53:34 UTC
Created nettle tracking bugs for this issue:

Affects: fedora-all [bug 1304305]
Affects: epel-5 [bug 1304307]

Comment 2 Andrej Nemec 2016-02-03 09:53:40 UTC
Created mingw-nettle tracking bugs for this issue:

Affects: fedora-all [bug 1304304]
Affects: epel-7 [bug 1304308]

Comment 3 Andrej Nemec 2016-02-03 09:53:45 UTC
Created compat-nettle27 tracking bugs for this issue:

Affects: fedora-23 [bug 1304306]

Comment 5 Andrej Nemec 2016-02-03 13:08:37 UTC
CVE assignment:

http://seclists.org/oss-sec/2016/q1/273

Comment 6 Fedora Update System 2016-02-04 23:21:45 UTC
nettle-3.2-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Tomas Hoger 2016-02-09 07:55:53 UTC
Created attachment 1122346 [details]
Test case

Local copy of the test case that was posted to the upstream list:

https://lists.lysator.liu.se/pipermail/nettle-bugs/2015/003028.html

Comment 11 Fedora Update System 2016-02-15 02:53:23 UTC
mingw-gnutls-3.4.9-1.fc23, mingw-nettle-3.2-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2016-02-21 02:23:02 UTC
nettle-2.7.1-6.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2016-06-02 14:56:48 UTC
compat-nettle27-2.7.1-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 errata-xmlrpc 2016-11-03 19:30:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2582 https://rhn.redhat.com/errata/RHSA-2016-2582.html