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 1588688 - (CVE-2016-1000340) CVE-2016-1000340 bouncycastle: Carry propagation bug in math.raw.Nat??? class
CVE-2016-1000340 bouncycastle: Carry propagation bug in math.raw.Nat??? class
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20180607,reported=2...
: Security
Depends On: 1589577 1592662 1588689 1588690 1588691 1589576
Blocks: 1588310
  Show dependency treegraph
 
Reported: 2018-06-07 13:49 EDT by Pedro Sampaio
Modified: 2018-10-25 11:42 EDT (History)
64 users (show)

See Also:
Fixed In Version: bouncycastle 1.56
Doc Type: If docs needed, set a value
Doc Text:
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-2018:2669 None None None 2018-09-11 03:57 EDT
Red Hat Product Errata RHSA-2018:2927 None None None 2018-10-16 11:25 EDT

  None (edit)
Description Pedro Sampaio 2018-06-07 13:49:16 EDT
In the Bouncy Castle JCE Provider versions 1.51 to 1.55, a carry propagation bug was introduced in the implementation of squaring for several raw math classes have been fixed (org.bouncycastle.math.raw.Nat???). These classes are used by our custom elliptic curve implementations (org.bouncycastle.math.ec.custom.**), so there was the possibility of rare (in general usage) spurious calculations for elliptic curve scalar multiplications. Such errors would have been detected with high probability by the output validation for our scalar multipliers.

Upstream patch:

https://github.com/bcgit/bc-java/commit/790642084c4e0cadd47352054f868cc8397e2c00#diff-e5934feac8203ca0104ab291a3560a31
Comment 1 Pedro Sampaio 2018-06-07 13:51:14 EDT
Created bouncycastle tracking bugs for this issue:

Affects: epel-all [bug 1588689]
Affects: fedora-all [bug 1588691]
Comment 3 Mat Booth 2018-06-07 15:57:27 EDT
(In reply to Pedro Sampaio from comment #1)
> Affects: fedora-all [bug 1588691]

Fedora already carries bouncycastle newer than 1.56, so I will close this bug.
Comment 6 Kurt Seifried 2018-06-10 16:29:17 EDT
Statement:

This issue affects the versions of bouncycastle as shipped with Red Hat Subscription Asset Manager 1.x. Red Hat Product Security has rated this issue as having a security impact of Low. No update is planned for this product at this time. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Comment 8 errata-xmlrpc 2018-09-11 03:56:58 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Fuse

Via RHSA-2018:2669 https://access.redhat.com/errata/RHSA-2018:2669
Comment 9 errata-xmlrpc 2018-10-16 11:24:51 EDT
This issue has been addressed in the following products:

  Red Hat Satellite 6.4 for RHEL 7

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

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