ADVISORIES

GitHub Advisory Database

GHSA-9gp4-qrff-c648

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

Moderate CVE-2016-1000345

Details

In the Bouncy Castle JCE Provider version 1.55 and earlier the DHIES/ECIES CBC mode vulnerable to padding oracle attack. For BC 1.55 and older, in an environment where timings can be easily observed, it is possible with enough observations to identify when the decryption is failing due to padding.

Affected packages

EcosystemPackageAffected versions
Mavenorg.bouncycastle:bcprov-jdk14
All versions before 1.56 (fixed in 1.56)
Mavenorg.bouncycastle:bcprov-jdk15
All versions before 1.56 (fixed in 1.56)
Mavenorg.bouncycastle:bcprov-jdk15on
All versions before 1.56 (fixed in 1.56)

References