Bug 1588695 (CVE-2016-1000339) - CVE-2016-1000339 bouncycastle: Information leak in AESFastEngine class
Summary: CVE-2016-1000339 bouncycastle: Information leak in AESFastEngine class
Alias: CVE-2016-1000339
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1588700 1588701 1588702 1589578 1589579 1592662
Blocks: 1588310
TreeView+ depends on / blocked
Reported: 2018-06-07 18:01 UTC by Pedro Sampaio
Modified: 2021-02-17 00:10 UTC (History)
60 users (show)

Fixed In Version: bouncycastle 1.56
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-06-10 10:27:44 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2669 0 None None None 2018-09-11 07:57:27 UTC
Red Hat Product Errata RHSA-2018:2927 0 None None None 2018-10-16 15:25:27 UTC

Description Pedro Sampaio 2018-06-07 18:01:06 UTC
In the Bouncy Castle JCE Provider version 1.55 and earlier the primary engine class used for AES was AESFastEngine. Due to the highly table driven approach used in the algorithm it turns out that if the data channel on the CPU can be monitored the lookup table accesses are sufficient to leak information on the AES key being used. There was also a leak in AESEngine although it was substantially less. AESEngine has been modified to remove any signs of leakage (testing carried out on Intel X86-64) and is now the primary AES class for the BC JCE provider from 1.56. Use of AESFastEngine is now only recommended where otherwise deemed appropriate.

Upstream patch:


Comment 1 Pedro Sampaio 2018-06-07 18:09:35 UTC
Created bouncycastle tracking bugs for this issue:

Affects: epel-all [bug 1588700]
Affects: fedora-all [bug 1588702]

Comment 3 Mat Booth 2018-06-07 19:58:43 UTC
(In reply to Pedro Sampaio from comment #1)
> Affects: fedora-all [bug 1588702]

Fedora already carries bouncycastle newer than 1.56, so I will close this bug.

Comment 6 Kurt Seifried 2018-06-10 20:29:23 UTC

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 Moderate. 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 07:57:08 UTC
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 15:25:05 UTC
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

Comment 10 Joshua Padman 2019-05-15 22:40:37 UTC
This vulnerability is out of security support scope for the following product:
 * Red Hat JBoss Data Virtualization & Services 6

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

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