MODERATE 5.3

CVE-2016-1000339

Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15

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.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.bouncycastle » bcprov-jdk14
< 1.56
1.56
org.bouncycastle » bcprov-jdk15
< 1.56
1.56
org.bouncycastle » bcprov-jdk15on
< 1.56
1.56

Blast radius

3affected artifacts
50affected versions
21,446dependent artifacts (est.)
2,011,743dependent versions

51% of the dependent artifacts (11,045) still pull an affected version in their latest release.

DepthDependent versions
Direct
32,053
2 hops
287,831
3 hops
712,990
4 hops
535,597
5 hops
314,829
6 hops
128,443

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.