GitHub Advisoryadvisory · Maven

GHSA-c8xf-m4ff-jcxj Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15

MEDIUM Published 2018-10-17 Modified 2025-09-12 Official page ↗
Aliases
CVE-2016-1000339
Ecosystem
Maven
Packages
org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15, org.bouncycastle:bcprov-jdk15on
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Reviewed
2020-06-16

Affected packages

• Maven org.bouncycastle:bcprov-jdk14: < 1.56 → fixed in 1.56 • Maven org.bouncycastle:bcprov-jdk15: < 1.56 → fixed in 1.56 • Maven org.bouncycastle:bcprov-jdk15on: < 1.56 → fixed in 1.56

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.

Related

Alias · CVE (1)

  • CVE-2016-1000339 In the Bouncy Castle JCE Provider version 1.55 and earlier the primary engine class used for AES was AESFastEngine. vulnerability

References