Information Exposure Affecting org.bouncycastle:bcprov-jdk15on package, versions [, 1.56)

  • Attack Complexity


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    12 Mar 2019

  • disclosed

    4 Jun 2018

  • credit


How to fix?

Upgrade org.bouncycastle:bcprov-jdk15on to version 1.56 or higher.


org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.

Affected versions of this package are vulnerable to Information Exposure. 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.