CVE-2016-1000339

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductBouncycastle Bc-java
PublishedJun 4, 2018
First seenJun 4, 2018

How to fix

Update
  • org.bouncycastle:bcprov-jdk141.56 or later
  • org.bouncycastle:bcprov-jdk151.56 or later
  • org.bouncycastle:bcprov-jdk15on1.56 or later

Affected products

ProductAffected versionsFixed in
bouncycastle bc-javav ≤ 1.55—
debian debian_linux8.0—
org.bouncycastle:bcprov-jdk14Mavenv < 1.561.56
org.bouncycastle:bcprov-jdk15Mavenv < 1.561.56
org.bouncycastle:bcprov-jdk15onMavenv < 1.561.56

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.